diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-03-01 09:33:23 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-03-01 15:28:27 +0200 |
commit | 3a08fd3b376506777169e21e21f3fce134af9def (patch) | |
tree | cb54b67e0717da6ca1ed212e02d62575afe3b23a | |
parent | 8c99b935dbe8606e7c37bf7339c1fa906263db9a (diff) |
WaE: unused variable
-rw-r--r-- | vcl/ios/source/window/salframe.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/ios/source/window/salframe.cxx b/vcl/ios/source/window/salframe.cxx index 0665fc91fb7c..ef0e6800bb53 100644 --- a/vcl/ios/source/window/salframe.cxx +++ b/vcl/ios/source/window/salframe.cxx @@ -502,8 +502,8 @@ sal_Bool IosSalFrame::GetWindowState( SalFrameState* pState ) SAL_FRAMESTATE_MASK_HEIGHT | SAL_FRAMESTATE_MASK_STATE; - CGRect aStateRect = [mpWindow frame]; #if 0 // ??? + CGRect aStateRect = [mpWindow frame]; aStateRect = [UIWindow contentRectForFrameRect: aStateRect styleMask: mnStyleMask]; CocoaTouchToVCL( aStateRect ); pState->mnX = long(aStateRect.origin.x); @@ -805,8 +805,8 @@ void IosSalFrame::SetPosSize(long /*nX*/, long /*nY*/, long /*nWidth*/, long /*n nEvent = (nEvent == SALEVENT_MOVE) ? SALEVENT_MOVERESIZE : SALEVENT_RESIZE; } - CGRect aFrameRect = [mpWindow frame]; #if 0 // ??? + CGRect aFrameRect = [mpWindow frame]; CGRect aContentRect = [NSWindow contentRectForFrameRect: aFrameRect styleMask: mnStyleMask]; // position is always relative to parent frame |