[Libreoffice-commits] core.git: vcl/android
Tor Lillqvist
tml at collabora.com
Fri Nov 7 14:30:38 PST 2014
vcl/android/androidinst.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 46a47217de2c3225bfdeb9d32bb76bbbd8c26c36
Author: Tor Lillqvist <tml at collabora.com>
Date: Sat Nov 8 00:29:47 2014 +0200
These constants are now in the MouseEventModifiers class enum
Change-Id: Ie6a0c86b18a7a01c8b020c37dcbcadc529deb80b
diff --git a/vcl/android/androidinst.cxx b/vcl/android/androidinst.cxx
index 262a7c1..4bb391c 100644
--- a/vcl/android/androidinst.cxx
+++ b/vcl/android/androidinst.cxx
@@ -485,15 +485,15 @@ Java_org_libreoffice_android_AppSupport_touch(JNIEnv * /* env */,
switch (action) {
case AMOTION_EVENT_ACTION_DOWN:
- aEvent = MouseEvent(Point(x, y), 1, MOUSE_SIMPLECLICK, MOUSE_LEFT);
+ aEvent = MouseEvent(Point(x, y), 1, MouseEventModifiers::SIMPLECLICK, MOUSE_LEFT);
nEvent = VCLEVENT_WINDOW_MOUSEBUTTONDOWN;
break;
case AMOTION_EVENT_ACTION_UP:
- aEvent = MouseEvent(Point(x, y), 1, MOUSE_SIMPLECLICK, MOUSE_LEFT);
+ aEvent = MouseEvent(Point(x, y), 1, MouseEventModifiers::SIMPLECLICK, MOUSE_LEFT);
nEvent = VCLEVENT_WINDOW_MOUSEBUTTONUP;
break;
case AMOTION_EVENT_ACTION_MOVE:
- aEvent = MouseEvent(Point(x, y), 1, MOUSE_SIMPLEMOVE, MOUSE_LEFT);
+ aEvent = MouseEvent(Point(x, y), 1, MouseEventModifiers::SIMPLEMOVE, MOUSE_LEFT);
nEvent = VCLEVENT_WINDOW_MOUSEMOVE;
break;
default:
More information about the Libreoffice-commits
mailing list