summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-01-09 17:25:38 +0900
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-01-12 11:06:42 +0100
commit616a0ac18f9d373dbdb9920a63d3ce6603eedd4e (patch)
treeb7c5e70fa5ac96b48bbd70a6a0fe539eeca14432 /android
parenta04e32558738c912913fa368e0e2cf237e61485c (diff)
android: add toString to TileIdentifier
Change-Id: Id5bfa1652a8b33757d4604e0fcf89766b50c4344
Diffstat (limited to 'android')
-rw-r--r--android/experimental/LOAndroid3/src/java/org/libreoffice/TileIdentifier.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/TileIdentifier.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/TileIdentifier.java
index fe4071c6cb68..7c51b523283c 100644
--- a/android/experimental/LOAndroid3/src/java/org/libreoffice/TileIdentifier.java
+++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/TileIdentifier.java
@@ -42,4 +42,9 @@ public class TileIdentifier {
result = 31 * result + (zoom != +0.0f ? Float.floatToIntBits(zoom) : 0);
return result;
}
+
+ @Override
+ public String toString() {
+ return String.format("TileIdentifier (%d, %d) z=%f s=(%d, %d)", x, y, zoom, size.width, size.height);
+ }
} \ No newline at end of file