diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/registry/dp_backenddb.cxx | 4 | ||||
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_misc.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/desktop/source/deployment/registry/dp_backenddb.cxx b/desktop/source/deployment/registry/dp_backenddb.cxx index 85d07f8414e8..a219f1308c00 100644 --- a/desktop/source/deployment/registry/dp_backenddb.cxx +++ b/desktop/source/deployment/registry/dp_backenddb.cxx @@ -296,7 +296,7 @@ void BackendDb::writeVectorOfPair( css::uno::Reference<css::xml::dom::XNode> const & xParent) { try{ - if (vecPairs.size() == 0) + if (vecPairs.empty()) return; const OUString sNameSpace = getDbNSName(); OSL_ASSERT(!sNameSpace.isEmpty()); @@ -413,7 +413,7 @@ void BackendDb::writeSimpleList( { try { - if (list.size() == 0) + if (list.empty()) return; const OUString sNameSpace = getDbNSName(); const OUString sPrefix(getNSPrefix() + OUSTR(":")); diff --git a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx index 5dba571ad637..0750d38d4d0e 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx @@ -344,7 +344,7 @@ void printf_packages( { OSL_ASSERT(allExtensions.size() == vecUnaccepted.size()); - if (allExtensions.size() == 0) + if (allExtensions.empty()) { printf_space( level ); dp_misc::writeConsole("<none>\n"); |