From ec4ce4362a8d33f5608f62a11e1ed84b8dc448a4 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sun, 31 Dec 2023 12:19:15 +0100 Subject: 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 --- vcl/source/fontsubset/ttcr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/source') 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& pGlyph : m_list) { -- cgit