diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2015-12-23 11:03:02 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2015-12-23 14:56:30 +0000 |
commit | c694c1812280e03fc04c77fb6483a2410097eb37 (patch) | |
tree | 3bdc7e850ea0980e794b00947218ba73bb74650d /vcl/source/font | |
parent | ce014ac76678f186da27faadc973af3eb253c817 (diff) |
vcl: private functions in PhysicalFontCollection start with Impl
Not a fan, but I'll stick with convention and prefix private functions
with Impl in PhysicalFontCollection.
Change-Id: Ided081a19ec071ecd5c6a5a4929584ae0f3b0f05
Reviewed-on: https://gerrit.libreoffice.org/20881
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'vcl/source/font')
-rw-r--r-- | vcl/source/font/PhysicalFontCollection.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vcl/source/font/PhysicalFontCollection.cxx b/vcl/source/font/PhysicalFontCollection.cxx index 39bcb2661f5f..13f0e816548e 100644 --- a/vcl/source/font/PhysicalFontCollection.cxx +++ b/vcl/source/font/PhysicalFontCollection.cxx @@ -115,7 +115,7 @@ void PhysicalFontCollection::Clear() mbMatchData = false; } -void PhysicalFontCollection::InitGenericGlyphFallback() const +void PhysicalFontCollection::ImplInitGenericGlyphFallback() const { // normalized family names of fonts suited for glyph fallback // if a font is available related fonts can be ignored @@ -284,7 +284,7 @@ PhysicalFontFamily* PhysicalFontCollection::GetGlyphFallbackFont( FontSelectPatt { // initialize font candidates for generic glyph fallback if needed if( mnFallbackCount < 0 ) - InitGenericGlyphFallback(); + ImplInitGenericGlyphFallback(); // TODO: adjust nFallbackLevel by number of levels resolved by the fallback hook if( nFallbackLevel < mnFallbackCount ) @@ -431,7 +431,7 @@ PhysicalFontFamily* PhysicalFontCollection::ImplFindBySubstFontAttr( const utl:: return nullptr; } -void PhysicalFontCollection::InitMatchData() const +void PhysicalFontCollection::ImplInitMatchData() const { // short circuit if already done if( mbMatchData ) @@ -469,7 +469,7 @@ PhysicalFontFamily* PhysicalFontCollection::FindByAttributes( ImplFontAttrs nSea && ((eSearchWidth == WIDTH_DONTKNOW) || (eSearchWidth == WIDTH_NORMAL)) ) return nullptr; - InitMatchData(); + ImplInitMatchData(); PhysicalFontFamily* pFoundData = nullptr; long nBestMatch = 40000; @@ -876,7 +876,7 @@ PhysicalFontFamily* PhysicalFontCollection::FindByAttributes( ImplFontAttrs nSea return pFoundData; } -PhysicalFontFamily* PhysicalFontCollection::FindDefaultFont() const +PhysicalFontFamily* PhysicalFontCollection::ImplFindDefaultFont() const { // try to find one of the default fonts of the // UNICODE, SANSSERIF, SERIF or FIXED default font lists @@ -909,7 +909,7 @@ PhysicalFontFamily* PhysicalFontCollection::FindDefaultFont() const // now try to find a reasonable non-symbol font - InitMatchData(); + ImplInitMatchData(); PhysicalFontFamilies::const_iterator it = maPhysicalFontFamilies.begin(); for(; it != maPhysicalFontFamilies.end(); ++it ) @@ -1302,7 +1302,7 @@ PhysicalFontFamily* PhysicalFontCollection::FindByFont( FontSelectPattern& rFSD else { // if still needed fall back to default fonts - pFoundData = FindDefaultFont(); + pFoundData = ImplFindDefaultFont(); } return pFoundData; |