diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2023-12-31 12:19:15 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2023-12-31 13:45:27 +0100 |
commit | ec4ce4362a8d33f5608f62a11e1ed84b8dc448a4 (patch) | |
tree | df0898f2afcd5eb5d82a7434651cffd50b7743c1 /vcl/source | |
parent | 43c03ebc221db18b6980fbe592cce11cbb46dd49 (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.cxx | 2 |
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) { |