vcl/win/gdi/salfont.cxx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
New commits: commit 0ce0f7f81f53d8ac416c439ca2ec9b4ebbb305a5 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Sat Sep 17 12:51:34 2022 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Sat Sep 17 15:40:49 2022 +0200 loplugin:staticmethods (clang-cl) Change-Id: I875b60fba5267e158ac85d1442133f1bd4bfe560 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140099 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> 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 )