summaryrefslogtreecommitdiff
path: root/vcl/android
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-07 08:37:27 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-07 10:15:57 +0200
commitbcbe5fe88593473ff4d12633c52e34f2f8054594 (patch)
tree509da3e663e285bded6737fec22f23fb1a25edb0 /vcl/android
parent1192381595f449a383c792846ccc52a920aea84a (diff)
Use view size for "work area" size
Don't know what this affects, though. Things seem to have worked as expected even with the hardcoded bogus value? Change-Id: I945bdcd53260fc5f43cf0031dfd96637168475f0
Diffstat (limited to 'vcl/android')
-rw-r--r--vcl/android/androidinst.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/android/androidinst.cxx b/vcl/android/androidinst.cxx
index 187445057264..3dbdce141851 100644
--- a/vcl/android/androidinst.cxx
+++ b/vcl/android/androidinst.cxx
@@ -167,7 +167,7 @@ void AndroidSalInstance::damaged(AndroidSalFrame */* frame */)
void AndroidSalInstance::GetWorkArea( Rectangle& rRect )
{
rRect = Rectangle( Point( 0, 0 ),
- Size( 1280, 750 ) );
+ Size( viewWidth, viewHeight ) );
}
/*