diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-12-19 00:04:55 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-12-19 00:17:29 +0200 |
commit | 0d9c4baf86c502e7cc2b6072a530c6fad2179abe (patch) | |
tree | a51f92a2395691de03e11c94487c7b23791515bb /vcl/quartz/salgdi.cxx | |
parent | 2753bc1eff1bc595131a59518c1f7e131824b10d (diff) |
The "fake DPI scale" was always 1
Thanks to kendy for noticing.
Change-Id: I6b62d5a0c1dc5df374629a8f7c6e7d2f7cd7ffbd
Diffstat (limited to 'vcl/quartz/salgdi.cxx')
-rw-r--r-- | vcl/quartz/salgdi.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/quartz/salgdi.cxx b/vcl/quartz/salgdi.cxx index 25a219ff5770..ceef0235410e 100644 --- a/vcl/quartz/salgdi.cxx +++ b/vcl/quartz/salgdi.cxx @@ -254,7 +254,6 @@ AquaSalGraphics::AquaSalGraphics() , mnBitmapDepth( 0 ) , mnRealDPIX( 0 ) , mnRealDPIY( 0 ) - , mfFakeDPIScale( 1.0 ) , mxClipPath( NULL ) , maLineColor( COL_WHITE ) , maFillColor( COL_BLACK ) @@ -274,7 +273,6 @@ AquaSalGraphics::AquaSalGraphics() , mnWidth( 0 ) , mnHeight( 0 ) , mnBitmapDepth( 0 ) - , mfFakeDPIScale( 1.0 ) , mxClipPath( NULL ) , maLineColor( COL_WHITE ) , maFillColor( COL_BLACK ) @@ -325,7 +323,7 @@ void AquaSalGraphics::SetTextColor( SalColor nSalColor ) void AquaSalGraphics::GetFontMetric( ImplFontMetricData* pMetric, int /*nFallbackLevel*/ ) { - mpTextStyle->GetFontMetric( mfFakeDPIScale, *pMetric ); + mpTextStyle->GetFontMetric( *pMetric ); } // ----------------------------------------------------------------------- |