From 367bf4d300d60e721d65b03834d117b485d87dcb Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 16 Jul 2015 13:55:06 +0200 Subject: loplugin:simplifybool Change-Id: Ifb229db31ba6d97c4ec9ca586210c1f3c4b89521 --- sot/source/unoolestorage/xolesimplestorage.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sot/source/unoolestorage/xolesimplestorage.cxx b/sot/source/unoolestorage/xolesimplestorage.cxx index a1d4f6dc2263..4a76aa7c033e 100644 --- a/sot/source/unoolestorage/xolesimplestorage.cxx +++ b/sot/source/unoolestorage/xolesimplestorage.cxx @@ -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; } -- cgit