that should have been LibreOfficeKit*Document*Class

Change-Id: I48f9db39be18ae9a456002de8f40fbb0fb3be707
This commit is contained in:
Christian Lohmaier
2016-11-17 16:38:03 +01:00
parent 7f1af0a1c7
commit e1b2af1932

View File

@@ -321,7 +321,7 @@ extern "C" SAL_JNI_EXPORT jstring JNICALL Java_org_libreoffice_kit_Document_getT
const char* pMimeType = pEnv->GetStringUTFChars(mimeType, NULL);
char* pUsedMimeType = 0;
LibreOfficeKitClass* pcls = pDocument->pClass;
LibreOfficeKitDocumentClass* pcls = pDocument->pClass;
char* pSelection = pcls->getTextSelection(pDocument, pMimeType, &pUsedMimeType);
free(pUsedMimeType);