that should have been LibreOfficeKit*Document*Class
Change-Id: I48f9db39be18ae9a456002de8f40fbb0fb3be707
This commit is contained in:
@@ -321,7 +321,7 @@ extern "C" SAL_JNI_EXPORT jstring JNICALL Java_org_libreoffice_kit_Document_getT
|
|||||||
const char* pMimeType = pEnv->GetStringUTFChars(mimeType, NULL);
|
const char* pMimeType = pEnv->GetStringUTFChars(mimeType, NULL);
|
||||||
|
|
||||||
char* pUsedMimeType = 0;
|
char* pUsedMimeType = 0;
|
||||||
LibreOfficeKitClass* pcls = pDocument->pClass;
|
LibreOfficeKitDocumentClass* pcls = pDocument->pClass;
|
||||||
char* pSelection = pcls->getTextSelection(pDocument, pMimeType, &pUsedMimeType);
|
char* pSelection = pcls->getTextSelection(pDocument, pMimeType, &pUsedMimeType);
|
||||||
free(pUsedMimeType);
|
free(pUsedMimeType);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user