diff options
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) { |