summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2015-12-23 11:02:31 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2015-12-23 11:40:30 +0000
commitd169bd53d46de8a21e40468b60d3868452baf7c6 (patch)
treee930533ef508679627dc70f12408c0d6feff275c
parente030f2a3133777df1cdc589f8533f7a52d63d345 (diff)
vcl: make PhysicalFontFamily::FindDefaultFont() private
Change-Id: I603a1556051ea15b45e80ed7d6fcf9dbb7b13998 Reviewed-on: https://gerrit.libreoffice.org/20866 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
-rw-r--r--vcl/inc/PhysicalFontCollection.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/inc/PhysicalFontCollection.hxx b/vcl/inc/PhysicalFontCollection.hxx
index 2e4825f4894a..57a3e213926c 100644
--- a/vcl/inc/PhysicalFontCollection.hxx
+++ b/vcl/inc/PhysicalFontCollection.hxx
@@ -65,9 +65,6 @@ public:
PhysicalFontFamily* FindByTokenNames(const OUString& rTokenStr) const;
PhysicalFontFamily* FindByAttributes(ImplFontAttrs nSearchType, FontWeight, FontWidth,
FontItalic, const OUString& rSearchFamily) const;
-protected:
- PhysicalFontFamily* FindDefaultFont() const;
-
private:
friend class WinGlyphFallbackSubstititution;
mutable bool mbMatchData; // true if matching attributes are initialized
@@ -88,6 +85,8 @@ private:
const OUString& rShortName) const;
PhysicalFontFamily* ImplFindBySubstFontAttr( const utl::FontNameAttr& ) const;
+ PhysicalFontFamily* FindDefaultFont() const;
+
void InitMatchData() const;
};