summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/virdev.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2014-11-29 21:42:47 +0000
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-12-02 08:34:51 +0100
commitc22d5338fad383800b35efa458561bb89b604922 (patch)
tree2d73a2735803cd9df83d9a96b4c90504ff909d35 /vcl/source/gdi/virdev.cxx
parent1c6843f426314637e542949e8c71542a1c33d3c9 (diff)
vcl: remove SalVirtualDevice::GetWidth
It is presumed that #i59315# is fixed already, and that this is no longer necessary. Change-Id: Ifb2f6550fac2481c4fec269b38d6e806753cb53e
Diffstat (limited to 'vcl/source/gdi/virdev.cxx')
-rw-r--r--vcl/source/gdi/virdev.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/vcl/source/gdi/virdev.cxx b/vcl/source/gdi/virdev.cxx
index d783cd9b70e0..063bef16b209 100644
--- a/vcl/source/gdi/virdev.cxx
+++ b/vcl/source/gdi/virdev.cxx
@@ -164,12 +164,6 @@ void VirtualDevice::ImplInitVirDev( const OutputDevice* pOutDev,
mbScreenComp = true;
mnAlphaDepth = -1;
- // #i59315# init vdev size from system object, when passed a
- // SystemGraphicsData. Otherwise, output size will always
- // incorrectly stay at (1,1)
- if( pData && mpVirDev )
- mpVirDev->GetSize(mnOutWidth,mnOutHeight);
-
if( mnBitCount < 8 )
SetAntialiasing( ANTIALIASING_DISABLE_TEXT );