diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 7 | ||||
-rw-r--r-- | desktop/source/lib/lokandroid.cxx | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 940f413a2c9b..644301969ca8 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -205,7 +205,8 @@ static void doc_registerCallback(LibreOfficeKitDocument* pThis, static void doc_postMouseEvent (LibreOfficeKitDocument* pThis, int nType, int nX, - int nY); + int nY, + int nCount); struct LibLODocument_Impl : public _LibreOfficeKitDocument { @@ -659,7 +660,7 @@ static void doc_registerCallback(LibreOfficeKitDocument* pThis, pDoc->registerCallback(pCallback, pData); } -static void doc_postMouseEvent(LibreOfficeKitDocument* pThis, int nType, int nX, int nY) +static void doc_postMouseEvent(LibreOfficeKitDocument* pThis, int nType, int nX, int nY, int nCount) { ITiledRenderable* pDoc = getTiledRenderable(pThis); if (!pDoc) @@ -668,7 +669,7 @@ static void doc_postMouseEvent(LibreOfficeKitDocument* pThis, int nType, int nX, return; } - pDoc->postMouseEvent(nType, nX, nY); + pDoc->postMouseEvent(nType, nX, nY, nCount); } diff --git a/desktop/source/lib/lokandroid.cxx b/desktop/source/lib/lokandroid.cxx index 9ea51078c30f..d253cfe37bcc 100644 --- a/desktop/source/lib/lokandroid.cxx +++ b/desktop/source/lib/lokandroid.cxx @@ -278,10 +278,10 @@ extern "C" SAL_JNI_EXPORT jint JNICALL Java_org_libreoffice_kit_Office_saveAs } extern "C" SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_postMouseEvent - (JNIEnv* pEnv, jobject aObject, jint type, jint x, jint y) + (JNIEnv* pEnv, jobject aObject, jint type, jint x, jint y, jint count) { LibreOfficeKitDocument* pDocument = getHandle<LibreOfficeKitDocument>(pEnv, aObject); - pDocument->pClass->postMouseEvent(pDocument, type, x, y); + pDocument->pClass->postMouseEvent(pDocument, type, x, y, count); } /* DirectBufferAllocator */ |