summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/filedlghelper.cxx
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 /sfx2/source/dialog/filedlghelper.cxx
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 'sfx2/source/dialog/filedlghelper.cxx')
-rw-r--r--sfx2/source/dialog/filedlghelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index 26dcd99f3bc9..9784a268c39c 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -2426,7 +2426,7 @@ OUString FileDialogHelper::GetPath() const
{
OUString aPath;
- if ( mpImpl->mlLastURLs.size() > 0)
+ if ( !mpImpl->mlLastURLs.empty())
return mpImpl->mlLastURLs[0];
if ( mpImpl->mxFileDlg.is() )
@@ -2444,7 +2444,7 @@ OUString FileDialogHelper::GetPath() const
Sequence < OUString > FileDialogHelper::GetMPath() const
{
- if ( mpImpl->mlLastURLs.size() > 0)
+ if ( !mpImpl->mlLastURLs.empty())
return comphelper::containerToSequence(mpImpl->mlLastURLs);
if ( mpImpl->mxFileDlg.is() )