On Wed, Jun 06, 2012 at 06:28:48PM +0200, Lubos Lunak <l.lunak@suse.cz> wrote:
Hello,
please note that when convering from the obsolete OSL_ENSURE or similar
macros to SAL_WARN_IF, the condition needs to be inverted. OSL_ENSURE is a
(broken) assert-like macro and so it requires the condition to be true or it
warns. SAL_WARN_IF, as the name says, requires the condition to be false and
warns on true.
Hi Lubos,
Hah, thanks for pointing that out, didn't notice the difference.
Miklos
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.