diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-09-17 12:51:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-09-17 15:40:49 +0200 |
commit | 0ce0f7f81f53d8ac416c439ca2ec9b4ebbb305a5 (patch) | |
tree | 286fb271633faa9b8c1d3b482bea2cc5e1aa884a /vcl | |
parent | 61576dbeda71add6bd36da628bd3b626aa823a77 (diff) |
loplugin:staticmethods (clang-cl)
Change-Id: I875b60fba5267e158ac85d1442133f1bd4bfe560
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140099
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/gdi/salfont.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/vcl/win/gdi/salfont.cxx b/vcl/win/gdi/salfont.cxx index 75ef19c86e8a..a126dffb3ebd 100644 --- a/vcl/win/gdi/salfont.cxx +++ b/vcl/win/gdi/salfont.cxx @@ -169,14 +169,10 @@ class WinGlyphFallbackSubstititution { public: bool FindFontSubstitute(vcl::font::FontSelectPattern&, LogicalFontInstance* pLogicalFont, OUString& rMissingChars) const override; -private: - bool HasMissingChars(vcl::font::PhysicalFontFace*, OUString& rMissingChars) const; }; -} - // does a font face hold the given missing characters? -bool WinGlyphFallbackSubstititution::HasMissingChars(vcl::font::PhysicalFontFace* pFace, OUString& rMissingChars) const +bool HasMissingChars(vcl::font::PhysicalFontFace* pFace, OUString& rMissingChars) { FontCharMapRef xFontCharMap = pFace->GetFontCharMap(); @@ -205,8 +201,6 @@ bool WinGlyphFallbackSubstititution::HasMissingChars(vcl::font::PhysicalFontFace return nMatchCount > 0; } -namespace -{ //used by 2-level font fallback vcl::font::PhysicalFontFamily* findDevFontListByLocale(const vcl::font::PhysicalFontCollection &rFontCollection, const LanguageTag& rLanguageTag ) |