[Libreoffice-commits] core.git: Branch 'feature/tiled-editing' - android/experimental
Siqi Liu
me at siqi.fr
Sat Feb 28 13:08:13 PST 2015
android/experimental/LOAndroid3/src/java/org/libreoffice/OnSlideSwipeListener.java | 2 --
1 file changed, 2 deletions(-)
New commits:
commit f58a6fe9971acc6b7639e47444eb3674faa6934d
Author: Siqi Liu <me at siqi.fr>
Date: Sat Feb 28 22:07:36 2015 +0100
remove unused boolean (propagating touchEvent instead of intercepting it)
Change-Id: If05cf04414572fea809104c7fed309afb2438bfd
diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/OnSlideSwipeListener.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/OnSlideSwipeListener.java
index 1dc33f6..b1ee37e 100644
--- a/android/experimental/LOAndroid3/src/java/org/libreoffice/OnSlideSwipeListener.java
+++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/OnSlideSwipeListener.java
@@ -27,7 +27,6 @@ public class OnSlideSwipeListener implements OnTouchListener {
@Override
public boolean onFling(MotionEvent e1, MotionEvent e2, float velX, float velY) {
- boolean result = false;
try {
float diffY = e2.getY() - e1.getY();
float diffX = e2.getX() - e1.getX();
@@ -40,7 +39,6 @@ public class OnSlideSwipeListener implements OnTouchListener {
onSwipeLeft();
}
}
- result = true;
}
} catch (Exception exception) {
exception.printStackTrace();
More information about the Libreoffice-commits
mailing list