diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-06 09:26:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-06 10:27:18 +0100 |
commit | ea593a29006e71e25071aaf01c838e5da632adf0 (patch) | |
tree | 75474432bea3c1dd251d667dce725794cdb7ceaa | |
parent | fa405087c6345053580fb9d8eca46c6ca71c18d9 (diff) |
this is a no-op, remove if
Change-Id: I01a7d41084185c8c9d4a103fb124a0416a3bc890
-rw-r--r-- | vcl/source/font/PhysicalFontFamily.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/vcl/source/font/PhysicalFontFamily.cxx b/vcl/source/font/PhysicalFontFamily.cxx index 552c2dac20c7..b3c650cf4c94 100644 --- a/vcl/source/font/PhysicalFontFamily.cxx +++ b/vcl/source/font/PhysicalFontFamily.cxx @@ -159,19 +159,6 @@ bool PhysicalFontFamily::AddFontFace( PhysicalFontFace* pNewData ) || (pNewData->GetSlant() == ITALIC_OBLIQUE) ) mnTypeFaces |= FONT_FAMILY_ITALIC; - if( (meMatchWeight == WEIGHT_DONTKNOW) - || (meMatchWidth == WIDTH_DONTKNOW) - || (mnMatchType == ImplFontAttrs::None) ) - { - // TODO: is it cheaper to calc matching attributes now or on demand? - // calc matching attributes if other entries are already initialized - - // Do lazy, quite expensive, not needed in start-up! - // const FontSubstConfiguration& rFontSubst = *FontSubstConfiguration::get(); - // InitMatchData( rFontSubst, maSearchName ); - // mbMatchData=true; // Somewhere else??? - } - // reassign name (sharing saves memory) if( pNewData->GetFamilyName() == GetFamilyName() ) pNewData->SetFamilyName( GetFamilyName() ); |