summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-03-16 15:33:25 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-03-23 09:18:58 +0100
commit2a081a0f9ba8c73a0eba55020b6c39ee7778f9c9 (patch)
treefa9b9d1e978c7ed22c58bc48930923c5c058820d /android
parent892542426fb69bbb19f0a5cb9338f67074bd3add (diff)
Rectangle::toString(): output position, then size
This order seems to be less confusing. Change-Id: I95a7e3e2f6244915c820bb86e67745a777714e2d
Diffstat (limited to 'android')
-rw-r--r--android/experimental/LOAndroid3/src/java/org/libreoffice/InvalidationHandler.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/InvalidationHandler.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/InvalidationHandler.java
index 22aeda39f613..d94c93a047f2 100644
--- a/android/experimental/LOAndroid3/src/java/org/libreoffice/InvalidationHandler.java
+++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/InvalidationHandler.java
@@ -97,10 +97,10 @@ public class InvalidationHandler implements Document.MessageCallback {
return null;
}
- int width = Integer.decode(coordinates[0]);
- int height = Integer.decode(coordinates[1]);
- int x = Integer.decode(coordinates[2]);
- int y = Integer.decode(coordinates[3]);
+ int x = Integer.decode(coordinates[0]);
+ int y = Integer.decode(coordinates[1]);
+ int width = Integer.decode(coordinates[2]);
+ int height = Integer.decode(coordinates[3]);
float dpi = (float) LOKitShell.getDpi();