loplugin:literaltoboolconversion

Change-Id: I74bd9af6936f00fb26273606f7924f99ee7767d3
This commit is contained in:
Stephan Bergmann
2014-02-25 14:59:16 +01:00
parent 63de81621a
commit b83dfcb88b
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -310,7 +310,7 @@ static std::ostream &operator<<(std::ostream &s, NSPoint point) {
} catch (const Exception&) {
}
OSL_ASSERT( 0 );
OSL_ASSERT( false );
return nil;
}