summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-19 08:12:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-19 10:02:39 +0200
commit2c1b7e8d6a7fa22cb91919238418816671c3a497 (patch)
tree6f356017d24dffcd25261295ab25a21b738dc835 /uui
parentad18bb24d51e4f735085d50c496d28bd637dbb0b (diff)
clang-tidy readability-container-size-empty
Change-Id: I1df70b7dff5ebb6048f7fc618789faa15ca5d422 Reviewed-on: https://gerrit.libreoffice.org/61967 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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) + ")";