[Libreoffice-commits] core.git: vcl/android
Tor Lillqvist
tml at iki.fi
Wed Feb 27 23:17:47 PST 2013
vcl/android/androidinst.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 04893b7c90421f3f4c260f80ce70b43afa5d7fb9
Author: Tor Lillqvist <tml at iki.fi>
Date: Thu Feb 28 09:16:52 2013 +0200
WaE: 'eventKind' may be used uninitialized in this function
Change-Id: I55b2a2bd4cffface671727f88a3da9b132d7637a
diff --git a/vcl/android/androidinst.cxx b/vcl/android/androidinst.cxx
index df4f189..5f8df73 100644
--- a/vcl/android/androidinst.cxx
+++ b/vcl/android/androidinst.cxx
@@ -1024,6 +1024,9 @@ Java_org_libreoffice_experimental_desktop_Desktop_touch(JNIEnv * /* env */,
case AMOTION_EVENT_ACTION_MOVE:
eventKind = SALEVENT_MOUSEMOVE;
break;
+ default:
+ LOGE("Java_org_libreoffice_experimental_desktop_Desktop_touch: Invalid action %d", action);
+ return;
}
SalFrame *pFocus = AndroidSalInstance::getInstance()->getFocusFrame();
More information about the Libreoffice-commits
mailing list