diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2023-12-31 12:08:04 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2024-01-01 12:10:15 +0100 |
commit | 77585439438d9ccfd77534341178a948a575edee (patch) | |
tree | c6643e7b0a6a0280d8a5b6bcc8bdf51e9705e229 /chart2 | |
parent | a058fa6eb87dcc4a01dac14674e15ff3ba611ced (diff) |
Replace "size() == 0 with empty()" (chart2)
Change-Id: Ia1e082d6cf6db2a3df2b5dd5fc8f13caee529fdd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161465
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/main/VLegend.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/VLegend.cxx b/chart2/source/view/main/VLegend.cxx index 8a4935e9b058..72c0165a69f5 100644 --- a/chart2/source/view/main/VLegend.cxx +++ b/chart2/source/view/main/VLegend.cxx @@ -449,7 +449,7 @@ awt::Size lcl_placeLegendEntries( else --nNewLen; } - if (aTextShapes.size() == 0) + if (aTextShapes.empty()) { DrawModelWrapper::removeShape(rEntries[0].xSymbol); rEntries.pop_back(); |