summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
Diffstat (limited to 'uui')
-rw-r--r--uui/source/iahndl-filter.cxx2
-rw-r--r--uui/source/iahndl.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/iahndl-filter.cxx b/uui/source/iahndl-filter.cxx
index 9a8ef64c247c..829d761b0d06 100644
--- a/uui/source/iahndl-filter.cxx
+++ b/uui/source/iahndl-filter.cxx
@@ -151,7 +151,7 @@ handleNoSuchFilterRequest_(
// no list available for showing
// -> abort operation
- if (lNames.size()<1)
+ if (lNames.empty())
{
xAbort->select();
return;
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx
index 7b8ee8b8afe0..2ec7bb5496a3 100644
--- a/uui/source/iahndl.cxx
+++ b/uui/source/iahndl.cxx
@@ -245,7 +245,7 @@ UUIInteractionHelper::replaceMessageWithArguments(
{
OUString aMessage = _aMessage;
- SAL_WARN_IF(rArguments.size() == 0, "uui", "replaceMessageWithArguments: No arguments passed!");
+ SAL_WARN_IF(rArguments.empty(), "uui", "replaceMessageWithArguments: No arguments passed!");
for (size_t i = 0; i < rArguments.size(); ++i)
{
const OUString sReplaceTemplate = "$(ARG" + OUString::number(i+1) + ")";