loplugin:simplifybool
Change-Id: Ifb229db31ba6d97c4ec9ca586210c1f3c4b89521
This commit is contained in:
@@ -586,7 +586,7 @@ sal_Bool SAL_CALL OLESimpleStorage::hasByName( const OUString& aName )
|
||||
throw uno::RuntimeException(); // TODO:
|
||||
}
|
||||
|
||||
return bResult ? sal_True : sal_False;
|
||||
return bResult;
|
||||
}
|
||||
|
||||
|
||||
@@ -622,7 +622,7 @@ sal_Bool SAL_CALL OLESimpleStorage::hasElements()
|
||||
throw uno::RuntimeException(); // TODO:
|
||||
}
|
||||
|
||||
return aList.size() != 0 ? sal_True : sal_False;
|
||||
return aList.size() != 0;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user