From cb5b83e322ec3991fbc8e9edbb6389bda1749cac Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 31 Mar 2017 11:44:07 +0200 Subject: vcl: attempt to blindly make androids properly rectangular Change-Id: I5d43744b754817174401558a200a4cd204779515 --- vcl/android/androidinst.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vcl/android/androidinst.cxx') diff --git a/vcl/android/androidinst.cxx b/vcl/android/androidinst.cxx index e54bc68dceb6..c976a7c89732 100644 --- a/vcl/android/androidinst.cxx +++ b/vcl/android/androidinst.cxx @@ -36,9 +36,9 @@ public: virtual bool ErrorTrapPop( bool ) { return false; } }; -void AndroidSalInstance::GetWorkArea( Rectangle& rRect ) +void AndroidSalInstance::GetWorkArea(tools::Rectangle& rRect) { - rRect = Rectangle( Point( 0, 0 ), + rRect = tools::Rectangle( Point( 0, 0 ), Size( viewWidth, viewHeight ) ); } @@ -105,7 +105,7 @@ public: SetPosSize(0, 0, viewWidth, viewHeight, SAL_FRAME_POSSIZE_WIDTH | SAL_FRAME_POSSIZE_HEIGHT); } - virtual void GetWorkArea( Rectangle& rRect ) + virtual void GetWorkArea(tools::Rectangle& rRect) { AndroidSalInstance::getInstance()->GetWorkArea( rRect ); } -- cgit