From 10acf77f1af4c5c233c64ef54e3ef8657d1d9c6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toma=C5=BE=20Vajngerl?= Date: Sun, 3 Aug 2014 22:41:12 +0200 Subject: [PATCH] LOAndroid3: set part 0 by default, log document size Change-Id: I5517ff43c17637730639351f84df15a719aeb0a3 --- .../LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()); } }