diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2015-12-27 00:40:30 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2015-12-27 00:40:49 +1100 |
commit | 1a263563f5ba84e05f336ac035524f6eb014594e (patch) | |
tree | 13bc7568648512f4d78c98c724876552c55816a5 /vcl | |
parent | 32a6979da31266d757b481fe1a204da0c7ba2563 (diff) |
vcl: change PhysicaFontFamily::maName to maFamilyName
Change-Id: I505ae4509c96fe3a93e5ac5e3d7718941b2faa0c
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/PhysicalFontFamily.hxx | 4 | ||||
-rw-r--r-- | vcl/source/font/PhysicalFontFamily.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/vcl/inc/PhysicalFontFamily.hxx b/vcl/inc/PhysicalFontFamily.hxx index b3ba21b7ccc8..e945406a8c52 100644 --- a/vcl/inc/PhysicalFontFamily.hxx +++ b/vcl/inc/PhysicalFontFamily.hxx @@ -45,7 +45,7 @@ public: PhysicalFontFamily( const OUString& rSearchName ); ~PhysicalFontFamily(); - const OUString& GetFamilyName() const { return maName; } + const OUString& GetFamilyName() const { return maFamilyName; } const OUString& GetSearchName() const { return maSearchName; } const OUString& GetAliasNames() const { return maMapNames; } const OUString& GetMatchFamilyName() const { return maMatchFamilyName; } @@ -71,7 +71,7 @@ static void CalcType( ImplFontAttrs& rType, FontWeight& rWeight, Fon private: std::vector< PhysicalFontFace* > maFontFaces; - OUString maName; // Fontname (original font family name) + OUString maFamilyName; // original font family name OUString maSearchName; // normalized font family name OUString maMapNames; // fontname aliases int mnTypeFaces; // Typeface Flags diff --git a/vcl/source/font/PhysicalFontFamily.cxx b/vcl/source/font/PhysicalFontFamily.cxx index c58f38b5c64d..9ee2defb95af 100644 --- a/vcl/source/font/PhysicalFontFamily.cxx +++ b/vcl/source/font/PhysicalFontFamily.cxx @@ -115,7 +115,7 @@ bool PhysicalFontFamily::AddFontFace( PhysicalFontFace* pNewFontFace ) { if( maFontFaces.empty() ) { - maName = pNewFontFace->GetFamilyName(); + maFamilyName = pNewFontFace->GetFamilyName(); maMapNames = pNewFontFace->maMapNames; meFamily = pNewFontFace->GetFamilyType(); mePitch = pNewFontFace->GetPitch(); @@ -206,7 +206,7 @@ void PhysicalFontFamily::InitMatchData( const utl::FontSubstConfiguration& rFont if( aShortName != rSearchName ) pFontAttr = rFontSubst.getSubstInfo( aShortName ); CalcType( mnMatchType, meMatchWeight, meMatchWidth, meFamily, pFontAttr ); - mnMatchType |= lcl_IsCJKFont( maName ); + mnMatchType |= lcl_IsCJKFont( maFamilyName ); } PhysicalFontFace* PhysicalFontFamily::FindBestFontFace( const FontSelectPattern& rFSD ) const |