diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-03-31 11:44:07 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-03-31 11:45:04 +0200 |
commit | cb5b83e322ec3991fbc8e9edbb6389bda1749cac (patch) | |
tree | 3a2f66ca57052a6ec5d43e8a02263c42ad330e09 /vcl | |
parent | 19e63ddbc265771b07b79af981db1a4a0d989086 (diff) |
vcl: attempt to blindly make androids properly rectangular
Change-Id: I5d43744b754817174401558a200a4cd204779515
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/android/androidinst.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 ); } |