Kaydet (Commit) b83dfcb8 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:literaltoboolconversion

Change-Id: I74bd9af6936f00fb26273606f7924f99ee7767d3
üst 63de8162
...@@ -152,7 +152,7 @@ using namespace ::rtl; ...@@ -152,7 +152,7 @@ using namespace ::rtl;
+(BOOL)convertBoolean:(PropertyValue)property { +(BOOL)convertBoolean:(PropertyValue)property {
BOOL myBoolean = NO; BOOL myBoolean = NO;
bool value = sal_False; bool value = false;
property.Value >>= value; property.Value >>= value;
if ( value ) { if ( value ) {
myBoolean = YES; myBoolean = YES;
......
...@@ -310,7 +310,7 @@ static std::ostream &operator<<(std::ostream &s, NSPoint point) { ...@@ -310,7 +310,7 @@ static std::ostream &operator<<(std::ostream &s, NSPoint point) {
} catch (const Exception&) { } catch (const Exception&) {
} }
OSL_ASSERT( 0 ); OSL_ASSERT( false );
return nil; return nil;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment