summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorOliver-Rainer Wittmann <od@openoffice.org>2010-02-15 09:41:19 +0100
committerOliver-Rainer Wittmann <od@openoffice.org>2010-02-15 09:41:19 +0100
commit9bba964993fe859b40a5c125406653ee3ade122e (patch)
tree2f9c31c3dae1d6b0f40a9791bd20d14b512ef065 /sw
parent6deb65760e2787c0b22cf774701f265b7443c379 (diff)
sw33bf02: #i107834# - remove applied patch for deeper investigation
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/txtnode/fntcache.cxx9
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,