summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 14:59:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-25 14:59:32 +0100
commitb83dfcb88b77fe9adfc036cd94c9c09ddc2b7468 (patch)
treeebdfee9914f6ea2f2925800893e1774cd322aae7 /vcl
parent63de81621a8d075d1df00d54798e06271083110e (diff)
loplugin:literaltoboolconversion
Change-Id: I74bd9af6936f00fb26273606f7924f99ee7767d3
Diffstat (limited to 'vcl')
-rw-r--r--vcl/osx/a11ytextattributeswrapper.mm2
-rw-r--r--vcl/osx/a11ywrapper.mm2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/a11ytextattributeswrapper.mm b/vcl/osx/a11ytextattributeswrapper.mm
index 339103740be0..e129ac927f4e 100644
--- a/vcl/osx/a11ytextattributeswrapper.mm
+++ b/vcl/osx/a11ytextattributeswrapper.mm
@@ -152,7 +152,7 @@ using namespace ::rtl;
+(BOOL)convertBoolean:(PropertyValue)property {
BOOL myBoolean = NO;
- bool value = sal_False;
+ bool value = false;
property.Value >>= value;
if ( value ) {
myBoolean = YES;
diff --git a/vcl/osx/a11ywrapper.mm b/vcl/osx/a11ywrapper.mm
index da7f202ff62e..4e19e1d2cbce 100644
--- a/vcl/osx/a11ywrapper.mm
+++ b/vcl/osx/a11ywrapper.mm
@@ -310,7 +310,7 @@ static std::ostream &operator<<(std::ostream &s, NSPoint point) {
} catch (const Exception&) {
}
- OSL_ASSERT( 0 );
+ OSL_ASSERT( false );
return nil;
}