diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2014-08-03 22:41:12 +0200 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2014-08-03 22:42:21 +0200 |
commit | 10acf77f1af4c5c233c64ef54e3ef8657d1d9c6a (patch) | |
tree | d5555ea870e57b7202b1c191e41b60f2e1911ab6 | |
parent | LOAndroid3: include in native-code.py some more needed libraries (diff) | |
download | core-10acf77f1af4c5c233c64ef54e3ef8657d1d9c6a.tar.gz core-10acf77f1af4c5c233c64ef54e3ef8657d1d9c6a.zip |
LOAndroid3: set part 0 by default, log document size
Change-Id: I5517ff43c17637730639351f84df15a719aeb0a3
-rw-r--r-- | android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java index e39c51b51e39..5e79a77d46c6 100644 --- a/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java +++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java @@ -54,8 +54,9 @@ public class LOKitTileProvider implements TileProvider { } else { Log.i(LOGTAG, "Document parts: " + mDocument.getParts()); if (mDocument.getParts() >= 1) { - mDocument.setPart(1); + mDocument.setPart(0); } + Log.i(LOGTAG, "Document size: " + mDocument.getDocumentWidth() + " x " + mDocument.getDocumentHeight()); } } |