diff options
author | Chris Sherlock <chris.sherlock@collabora.com> | 2015-12-22 15:31:28 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2015-12-22 14:24:46 +0000 |
commit | 7526f6c6f973d546e2887ff9d794e7214f261889 (patch) | |
tree | abbe2271624b01113a698af0d570d106ae09b7fd | |
parent | fbc209be00726967067282e945f193b087c425e9 (diff) |
vcl: rename PhysicalFontCollection::ImplFindByFont to FindByFont
This is part of the class's public interface, it's not just an implementation
function. Therefore the prefix Impl is not needed, so removing it.
Change-Id: I15540e470cfb20d312e8bf31109acfc6ff8fe7dc
Reviewed-on: https://gerrit.libreoffice.org/20860
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
-rw-r--r-- | vcl/inc/PhysicalFontCollection.hxx | 2 | ||||
-rw-r--r-- | vcl/source/font/PhysicalFontCollection.cxx | 2 | ||||
-rw-r--r-- | vcl/source/outdev/font.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/PhysicalFontCollection.hxx b/vcl/inc/PhysicalFontCollection.hxx index d9d7719088d4..a5ed8bb92b22 100644 --- a/vcl/inc/PhysicalFontCollection.hxx +++ b/vcl/inc/PhysicalFontCollection.hxx @@ -47,7 +47,7 @@ public: // find the device font PhysicalFontFamily* FindFontFamily( const OUString& rFontName ) const; PhysicalFontFamily* FindOrCreateFamily( const OUString &rFamilyName ); - PhysicalFontFamily* ImplFindByFont( FontSelectPattern& ) const; + PhysicalFontFamily* FindByFont( FontSelectPattern& ) const; // suggest fonts for glyph fallback PhysicalFontFamily* GetGlyphFallbackFont( FontSelectPattern&, diff --git a/vcl/source/font/PhysicalFontCollection.cxx b/vcl/source/font/PhysicalFontCollection.cxx index 0098b3a4de14..75ac79ba0428 100644 --- a/vcl/source/font/PhysicalFontCollection.cxx +++ b/vcl/source/font/PhysicalFontCollection.cxx @@ -985,7 +985,7 @@ ImplGetDevSizeList* PhysicalFontCollection::GetDevSizeList( const OUString& rFon return pGetDevSizeList; } -PhysicalFontFamily* PhysicalFontCollection::ImplFindByFont( FontSelectPattern& rFSD ) const +PhysicalFontFamily* PhysicalFontCollection::FindByFont( FontSelectPattern& rFSD ) const { // give up if no fonts are available if( !Count() ) diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx index 537671deb838..89fa8873e481 100644 --- a/vcl/source/outdev/font.cxx +++ b/vcl/source/outdev/font.cxx @@ -1283,7 +1283,7 @@ ImplFontEntry* ImplFontCache::GetFontEntry( PhysicalFontCollection* pFontList, if( !pEntry ) // no direct cache hit { // find the best matching logical font family and update font selector accordingly - pFontFamily = pFontList->ImplFindByFont( aFontSelData ); + pFontFamily = pFontList->FindByFont( aFontSelData ); DBG_ASSERT( (pFontFamily != nullptr), "ImplFontCache::Get() No logical font found!" ); if( pFontFamily ) aFontSelData.maSearchName = pFontFamily->GetSearchName(); |