diff options
-rw-r--r-- | sw/source/core/txtnode/fntcache.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx index 919c8091b700..b61476bdf4cf 100644 --- a/sw/source/core/txtnode/fntcache.cxx +++ b/sw/source/core/txtnode/fntcache.cxx @@ -484,10 +484,6 @@ static sal_Char __READONLY_DATA sStandardString[] = "Dies ist der Teststring"; pScrFont = pPrtFont; FontMetric aMet = pPrt->GetFontMetric( ); - //Don't loose "faked" properties of the logical font that don't truly - //exist in the physical font metrics which vcl which fake up for us - aMet.SetWeight(pScrFont->GetWeight()); - aMet.SetItalic(pScrFont->GetItalic()); bSymbol = RTL_TEXTENCODING_SYMBOL == aMet.GetCharSet(); @@ -528,11 +524,6 @@ static sal_Char __READONLY_DATA sStandardString[] = "Dies ist der Teststring"; pPrt->SetFont( aFnt2 ); aMet = pPrt->GetFontMetric( ); - //Don't loose "faked" properties of the logical font that don't - //truly exist in the physical font metrics which vcl which fake - //up for us - aMet.SetWeight(aFnt2.GetWeight()); - aMet.SetItalic(aFnt2.GetItalic()); } const XubString aStandardStr( sStandardString, |