From ea593a29006e71e25071aaf01c838e5da632adf0 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 6 May 2015 09:26:22 +0100 Subject: this is a no-op, remove if Change-Id: I01a7d41084185c8c9d4a103fb124a0416a3bc890 --- vcl/source/font/PhysicalFontFamily.cxx | 13 ------------- 1 file changed, 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() ); -- cgit