diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2014-11-29 21:42:47 +0000 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-12-02 08:34:51 +0100 |
commit | c22d5338fad383800b35efa458561bb89b604922 (patch) | |
tree | 2d73a2735803cd9df83d9a96b4c90504ff909d35 /vcl/quartz | |
parent | 1c6843f426314637e542949e8c71542a1c33d3c9 (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/quartz')
-rw-r--r-- | vcl/quartz/salvd.cxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/vcl/quartz/salvd.cxx b/vcl/quartz/salvd.cxx index f43090882de1..a524c1ed7127 100644 --- a/vcl/quartz/salvd.cxx +++ b/vcl/quartz/salvd.cxx @@ -277,20 +277,4 @@ bool AquaSalVirtualDevice::SetSize( long nDX, long nDY ) return (mxLayer != NULL); } -void AquaSalVirtualDevice::GetSize( long& rWidth, long& rHeight ) -{ - if( mxLayer ) - { - const CGSize aSize = CGLayerGetSize( mxLayer ); - rWidth = static_cast<long>(aSize.width); - rHeight = static_cast<long>(aSize.height); - CG_TRACE( "CGLayerGetSize(" << mxLayer << ") = " << aSize << "(" << rWidth << "x" << rHeight << ")" ); - } - else - { - rWidth = 0; - rHeight = 0; - } -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |