summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2023-12-31 12:19:15 +0100
committerJulien Nabet <serval2412@yahoo.fr>2023-12-31 13:45:27 +0100
commitec4ce4362a8d33f5608f62a11e1ed84b8dc448a4 (patch)
treedf0898f2afcd5eb5d82a7434651cffd50b7743c1 /vcl/source
parent43c03ebc221db18b6980fbe592cce11cbb46dd49 (diff)
Replace "size() == 0 with empty()" (vcl)
Change-Id: If93925fca6c0bb27ea5570d500e13b195b993f36 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161471 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/fontsubset/ttcr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/fontsubset/ttcr.cxx b/vcl/source/fontsubset/ttcr.cxx
index 84a0375c8087..e2095f987338 100644
--- a/vcl/source/fontsubset/ttcr.cxx
+++ b/vcl/source/fontsubset/ttcr.cxx
@@ -380,7 +380,7 @@ int TrueTypeTableGlyf::GetRawData(TableEntry* te)
te->length = 0;
te->tag = 0;
- if (m_list.size() == 0) return TTCR_ZEROGLYPHS;
+ if (m_list.empty()) return TTCR_ZEROGLYPHS;
for (const std::unique_ptr<GlyphData>& pGlyph : m_list)
{