summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/outdev3.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-10-19 16:03:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-10-19 16:04:01 +0100
commit3f9a28f1f704967446b411b3b7e176deeb78ca83 (patch)
tree9559cac448c3af810936e4ada09e2216ff5ca444 /vcl/source/gdi/outdev3.cxx
parent4ea86b46768c8309a7c259f713fd6d3c8d7abc28 (diff)
Resolves: fdo#41556 font sub cache of nameA => nameB is too simplistic
Diffstat (limited to 'vcl/source/gdi/outdev3.cxx')
-rwxr-xr-xvcl/source/gdi/outdev3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx
index 4d21f5d0ec00..b0f59cd91b04 100755
--- a/vcl/source/gdi/outdev3.cxx
+++ b/vcl/source/gdi/outdev3.cxx
@@ -3304,7 +3304,6 @@ ImplFontMetricData::ImplFontMetricData( const ImplFontSelectData& rFontSelData )
{
// initialize the members provided by the font request
mnWidth = rFontSelData.mnWidth;
- mnSlant = rFontSelData.GetSlant();
mnOrientation = sal::static_int_cast<short>(rFontSelData.mnOrientation);
// intialize the used font name
@@ -3329,6 +3328,7 @@ ImplFontMetricData::ImplFontMetricData( const ImplFontSelectData& rFontSelData )
mnDescent = 0;
mnIntLeading = 0;
mnExtLeading = 0;
+ mnSlant = 0;
mnMinKashida = 0;
// reset metrics that are usually derived from the measurements