summaryrefslogtreecommitdiffstats
path: root/sw/source/core/doc/docdraw.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 /sw/source/core/doc/docdraw.cxx
parentTurn ScGridWin::AutoFilterMode into scoped enum (diff)
downloadcore-2c1b7e8d6a7fa22cb91919238418816671c3a497.tar.gz
core-2c1b7e8d6a7fa22cb91919238418816671c3a497.zip
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 'sw/source/core/doc/docdraw.cxx')
-rw-r--r--sw/source/core/doc/docdraw.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/docdraw.cxx b/sw/source/core/doc/docdraw.cxx
index 18f59510ed43..9eb49b95a44b 100644
--- a/sw/source/core/doc/docdraw.cxx
+++ b/sw/source/core/doc/docdraw.cxx
@@ -366,7 +366,7 @@ void SwDoc::UnGroupSelection( SdrView& rDrawView )
GetIDocumentUndoRedo().AppendUndo(std::unique_ptr<SwUndo>(pUndo));
}
- while ( pFormatsAndObjs[i].size() > 0 )
+ while ( !pFormatsAndObjs[i].empty() )
{
SwDrawFrameFormat* pFormat( pFormatsAndObjs[i].back().first );
SdrObject* pObj( pFormatsAndObjs[i].back().second );