loplugin:simplifybool

Change-Id: Ifb229db31ba6d97c4ec9ca586210c1f3c4b89521
This commit is contained in:
Stephan Bergmann
2015-07-16 13:55:06 +02:00
parent 4bf8384d97
commit 367bf4d300

View File

@@ -586,7 +586,7 @@ sal_Bool SAL_CALL OLESimpleStorage::hasByName( const OUString& aName )
throw uno::RuntimeException(); // TODO: 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: throw uno::RuntimeException(); // TODO:
} }
return aList.size() != 0 ? sal_True : sal_False; return aList.size() != 0;
} }