tdf#92346 - Copy functionality in the viewer
Reference class added to desktop/source/lib/lokandroid.cxx for Java_org_libreoffice_kit_Document_getTextSelection() Change-Id: I211d5709df39fd9fafdab9232af760613f6b86c0 Reviewed-on: https://gerrit.libreoffice.org/29804 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
This commit is contained in:
@@ -321,7 +321,8 @@ extern "C" SAL_JNI_EXPORT jstring JNICALL Java_org_libreoffice_kit_Document_getT
|
||||
const char* pMimeType = pEnv->GetStringUTFChars(mimeType, NULL);
|
||||
|
||||
char* pUsedMimeType = 0;
|
||||
char* pSelection = pDocument->pClass->getTextSelection(pDocument, pMimeType, &pUsedMimeType);
|
||||
LibreOfficeKitClass* pcls = pDocument->pClass;
|
||||
char* pSelection = pcls->getTextSelection(pDocument, pMimeType, &pUsedMimeType);
|
||||
free(pUsedMimeType);
|
||||
|
||||
pEnv->ReleaseStringUTFChars(mimeType, pMimeType);
|
||||
|
Reference in New Issue
Block a user