vcl/android/androidinst.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit cb5b83e322ec3991fbc8e9edbb6389bda1749cac Author: Michael Stahl <mst...@redhat.com> Date: Fri Mar 31 11:44:07 2017 +0200 vcl: attempt to blindly make androids properly rectangular Change-Id: I5d43744b754817174401558a200a4cd204779515 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 ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits