From 72a688db732bca48969977b84a165d6d6a80e5af Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 21 May 2015 14:51:59 +0100 Subject: Remove more obsolete Android code: The 'AppSupport' stuff --- desktop/source/app/sofficemain.cxx | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'desktop') diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx index 25da9d8caafd..48aafb70c497 100644 --- a/desktop/source/app/sofficemain.cxx +++ b/desktop/source/app/sofficemain.cxx @@ -105,21 +105,6 @@ extern "C" int DESKTOP_DLLPUBLIC soffice_main() #if defined(ANDROID) || defined(IOS) -#ifdef ANDROID -extern "C" SAL_JNI_EXPORT void JNICALL -Java_org_libreoffice_android_AppSupport_runMain(JNIEnv* /* env */, - jobject /* clazz */) -{ - int nRet; - do { - nRet = soffice_main(); - LOGI("soffice_main returned %d", nRet); - } while (nRet == EXITHELPER_NORMAL_RESTART || - nRet == EXITHELPER_CRASH_WITH_RESTART); // pretend to re-start. - -} -#endif - extern "C" void PtylTestEncryptionAndExport(const char *pathname) { OUString sUri(pathname, strlen(pathname), RTL_TEXTENCODING_UTF8); -- cgit