loplugin:literaltoboolconversion
Change-Id: I74bd9af6936f00fb26273606f7924f99ee7767d3
This commit is contained in:
@@ -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;
|
||||
|
@@ -310,7 +310,7 @@ static std::ostream &operator<<(std::ostream &s, NSPoint point) {
|
||||
} catch (const Exception&) {
|
||||
}
|
||||
|
||||
OSL_ASSERT( 0 );
|
||||
OSL_ASSERT( false );
|
||||
return nil;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user