diff options
-rw-r--r-- | vcl/inc/PhysicalFontCollection.hxx | 2 | ||||
-rw-r--r-- | vcl/source/font/PhysicalFontCollection.cxx | 12 | ||||
-rw-r--r-- | vcl/win/gdi/salgdi3.cxx | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/vcl/inc/PhysicalFontCollection.hxx b/vcl/inc/PhysicalFontCollection.hxx index a5ed8bb92b22..e52e752db6cd 100644 --- a/vcl/inc/PhysicalFontCollection.hxx +++ b/vcl/inc/PhysicalFontCollection.hxx @@ -62,7 +62,7 @@ public: ImplGetDevFontList* GetDevFontList() const; ImplGetDevSizeList* GetDevSizeList( const OUString& rFontName ) const; - PhysicalFontFamily* ImplFindByTokenNames(const OUString& rTokenStr) const; + PhysicalFontFamily* FindByTokenNames(const OUString& rTokenStr) const; protected: void InitMatchData() const; diff --git a/vcl/source/font/PhysicalFontCollection.cxx b/vcl/source/font/PhysicalFontCollection.cxx index 75ac79ba0428..02c85cbc75dd 100644 --- a/vcl/source/font/PhysicalFontCollection.cxx +++ b/vcl/source/font/PhysicalFontCollection.cxx @@ -379,7 +379,7 @@ PhysicalFontFamily *PhysicalFontCollection::FindOrCreateFamily( const OUString & return pFoundData; } -PhysicalFontFamily* PhysicalFontCollection::ImplFindByTokenNames(const OUString& rTokenStr) const +PhysicalFontFamily* PhysicalFontCollection::FindByTokenNames(const OUString& rTokenStr) const { PhysicalFontFamily* pFoundData = nullptr; @@ -886,23 +886,23 @@ PhysicalFontFamily* PhysicalFontCollection::FindDefaultFont() const const utl::DefaultFontConfiguration& rDefaults = utl::DefaultFontConfiguration::get(); LanguageTag aLanguageTag( OUString( "en")); OUString aFontname = rDefaults.getDefaultFont( aLanguageTag, DefaultFontType::SANS_UNICODE ); - pFoundData = ImplFindByTokenNames( aFontname ); + pFoundData = FindByTokenNames( aFontname ); if( pFoundData ) return pFoundData; aFontname = rDefaults.getDefaultFont( aLanguageTag, DefaultFontType::SANS ); - pFoundData = ImplFindByTokenNames( aFontname ); + pFoundData = FindByTokenNames( aFontname ); if( pFoundData ) return pFoundData; aFontname = rDefaults.getDefaultFont( aLanguageTag, DefaultFontType::SERIF ); - pFoundData = ImplFindByTokenNames( aFontname ); + pFoundData = FindByTokenNames( aFontname ); if( pFoundData ) return pFoundData; aFontname = rDefaults.getDefaultFont( aLanguageTag, DefaultFontType::FIXED ); - pFoundData = ImplFindByTokenNames( aFontname ); + pFoundData = FindByTokenNames( aFontname ); if( pFoundData ) return pFoundData; } @@ -1189,7 +1189,7 @@ PhysicalFontFamily* PhysicalFontCollection::FindByFont( FontSelectPattern& rFSD aSearchName = "OpenSymbol"; else aSearchName = utl::DefaultFontConfiguration::get().getDefaultFont( aDefaultLanguageTag, DefaultFontType::SYMBOL ); - PhysicalFontFamily* pFoundData = ImplFindByTokenNames( aSearchName ); + PhysicalFontFamily* pFoundData = FindByTokenNames( aSearchName ); if( pFoundData ) return pFoundData; } diff --git a/vcl/win/gdi/salgdi3.cxx b/vcl/win/gdi/salgdi3.cxx index 7b20a631e5a6..d09176441ad8 100644 --- a/vcl/win/gdi/salgdi3.cxx +++ b/vcl/win/gdi/salgdi3.cxx @@ -500,7 +500,7 @@ namespace // get the default font for a specified locale const utl::DefaultFontConfiguration& rDefaults = utl::DefaultFontConfiguration::get(); const OUString aDefault = rDefaults.getUserInterfaceFont(rLanguageTag); - return rFontCollection.ImplFindByTokenNames(aDefault); + return rFontCollection.FindByTokenNames(aDefault); } } |