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/salgdicommon.cxx | |
parent | 2753bc1eff1bc595131a59518c1f7e131824b10d (diff) |
The "fake DPI scale" was always 1
Thanks to kendy for noticing.
Change-Id: I6b62d5a0c1dc5df374629a8f7c6e7d2f7cd7ffbd
Diffstat (limited to 'vcl/quartz/salgdicommon.cxx')
-rw-r--r-- | vcl/quartz/salgdicommon.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/vcl/quartz/salgdicommon.cxx b/vcl/quartz/salgdicommon.cxx index 6f96a6c7dcc0..59edb0539c34 100644 --- a/vcl/quartz/salgdicommon.cxx +++ b/vcl/quartz/salgdicommon.cxx @@ -519,7 +519,6 @@ void AquaSalGraphics::copyResolution( AquaSalGraphics& rGraphics ) } mnRealDPIX = rGraphics.mnRealDPIX; mnRealDPIY = rGraphics.mnRealDPIY; - mfFakeDPIScale = rGraphics.mfFakeDPIScale; } #endif @@ -1241,8 +1240,8 @@ void AquaSalGraphics::GetResolution( sal_Int32& rDPIX, sal_Int32& rDPIY ) initResolution( (mbWindow && mpFrame) ? mpFrame->getNSWindow() : nil ); } - rDPIX = lrint( mfFakeDPIScale * mnRealDPIX); - rDPIY = lrint( mfFakeDPIScale * mnRealDPIY); + rDPIX = mnRealDPIX; + rDPIY = mnRealDPIY; } #endif @@ -1353,8 +1352,6 @@ void AquaSalGraphics::initResolution( NSWindow* ) mnRealDPIX = pSalData->mnDPIX; mnRealDPIY = pSalData->mnDPIY; } - - mfFakeDPIScale = 1.0; } #endif |