From ef990c71e4f4eb703bc8175e26e3853b0d6486ca Mon Sep 17 00:00:00 2001 From: Siqi Liu Date: Sat, 28 Feb 2015 22:07:36 +0100 Subject: remove unused boolean (propagating touchEvent instead of intercepting it) Change-Id: If05cf04414572fea809104c7fed309afb2438bfd --- .../LOAndroid3/src/java/org/libreoffice/OnSlideSwipeListener.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'android') diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/OnSlideSwipeListener.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/OnSlideSwipeListener.java index 1dc33f62cfbb..b1ee37e04d3e 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(); -- cgit