diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2014-11-30 17:21:10 +0100 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2014-12-04 23:04:29 +0100 |
commit | 417d1f620c760632e77f96dfc1cac5df444213bb (patch) | |
tree | 6c22c2b32157af7aa2a470436b0a13cfffb1fcdd /android | |
parent | 86aadc8276a69079ee45a128a713f91ae544e02e (diff) |
android: change LOKitThread.draw to return void
Change-Id: I00f3ed059bd633e662e5bee09703ca505bf3b9a5
Diffstat (limited to 'android')
-rw-r--r-- | android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitThread.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitThread.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitThread.java index 30a8bc965979..1b233f0c1d18 100644 --- a/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitThread.java +++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitThread.java @@ -23,10 +23,10 @@ public class LOKitThread extends Thread { TileProviderFactory.initialize(); } - private boolean draw() { + private void draw() { if (mTileProvider == null || mApplication == null) { // called too early... - return false; + return; } RectF rect = new RectF(0, 0, mTileProvider.getPageWidth(), mTileProvider.getPageHeight()); @@ -34,8 +34,6 @@ public class LOKitThread extends Thread { mViewportMetrics = new ImmutableViewportMetrics(displayMetrics); mViewportMetrics = mViewportMetrics.setPageRect(rect, rect); mLayerClient.reevaluateTiles(); - - return true; } private void tileRequest(TileIdentifier tileId) { |