diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/base/formats.cxx | 2 | ||||
-rw-r--r-- | sot/source/unoolestorage/xolesimplestorage.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/base/formats.cxx b/sot/source/base/formats.cxx index 98424bd9e5d2..2ee87e71458d 100644 --- a/sot/source/base/formats.cxx +++ b/sot/source/base/formats.cxx @@ -1405,7 +1405,7 @@ static sal_uInt16 GetTransferableAction_Impl( { try { - if( rDataFlavorExVector.size() ) + if( !rDataFlavorExVector.empty() ) { const SotAction_Impl* pArrayStart = pArray; SotClipboardFormatId nId = pArray->nFormatId; diff --git a/sot/source/unoolestorage/xolesimplestorage.cxx b/sot/source/unoolestorage/xolesimplestorage.cxx index d4414a2e58ec..8804c4318fad 100644 --- a/sot/source/unoolestorage/xolesimplestorage.cxx +++ b/sot/source/unoolestorage/xolesimplestorage.cxx @@ -550,7 +550,7 @@ sal_Bool SAL_CALL OLESimpleStorage::hasElements() throw uno::RuntimeException(); // TODO: } - return aList.size() != 0; + return !aList.empty(); } |