summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-07-16 13:55:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-07-16 14:00:20 +0200
commit367bf4d300d60e721d65b03834d117b485d87dcb (patch)
tree7fa24c5fa39cfbf1d89694fd87a7c59a4879e82e /sot
parent4bf8384d970cf382d928925e6c3052f148c65904 (diff)
loplugin:simplifybool
Change-Id: Ifb229db31ba6d97c4ec9ca586210c1f3c4b89521
Diffstat (limited to 'sot')
-rw-r--r--sot/source/unoolestorage/xolesimplestorage.cxx4
1 files 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;
}