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>
This commit is contained in:
Stephan Bergmann
2022-09-17 15:40:49 +02:00
parent 61576dbeda
commit 0ce0f7f81f
+1 -7
View File
@@ -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 )