diff options
-rw-r--r-- | vcl/inc/PhysicalFontCollection.hxx | 2 | ||||
-rw-r--r-- | vcl/source/font/PhysicalFontCollection.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/PhysicalFontCollection.hxx b/vcl/inc/PhysicalFontCollection.hxx index 67d762de0217..4adbbe7b0401 100644 --- a/vcl/inc/PhysicalFontCollection.hxx +++ b/vcl/inc/PhysicalFontCollection.hxx @@ -85,7 +85,7 @@ private: PhysicalFontFamily* ImplFindFontFamilyByAliasName ( const OUString& rSearchName, const OUString& rShortName) const; PhysicalFontFamily* ImplFindFontFamilyBySubstFontAttr( const utl::FontNameAttr& ) const; - PhysicalFontFamily* ImplFindDefaultFontFamily() const; + PhysicalFontFamily* ImplFindFontFamilyOfDefaultFont() const; }; diff --git a/vcl/source/font/PhysicalFontCollection.cxx b/vcl/source/font/PhysicalFontCollection.cxx index 72b0d854cf11..033499ed128d 100644 --- a/vcl/source/font/PhysicalFontCollection.cxx +++ b/vcl/source/font/PhysicalFontCollection.cxx @@ -876,7 +876,7 @@ PhysicalFontFamily* PhysicalFontCollection::FindFontFamilyByAttributes( ImplFont return pFoundData; } -PhysicalFontFamily* PhysicalFontCollection::ImplFindDefaultFontFamily() const +PhysicalFontFamily* PhysicalFontCollection::ImplFindFontFamilyOfDefaultFont() const { // try to find one of the default fonts of the // UNICODE, SANSSERIF, SERIF or FIXED default font lists @@ -1302,7 +1302,7 @@ PhysicalFontFamily* PhysicalFontCollection::FindFontFamilyByFont( FontSelectPatt else { // if still needed fall back to default fonts - pFoundData = ImplFindDefaultFontFamily(); + pFoundData = ImplFindFontFamilyOfDefaultFont(); } return pFoundData; |