summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-05-21 14:51:59 +0100
committerTor Lillqvist <tml@collabora.com>2015-05-21 14:51:59 +0100
commit72a688db732bca48969977b84a165d6d6a80e5af (patch)
treeae8b6c5bd7d3b1705a91c6f20f7ec32942cd7903 /desktop
parent43ad4c56fabe0304cf7aa133c7778996afbfae23 (diff)
Remove more obsolete Android code: The 'AppSupport' stuff
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/sofficemain.cxx15
1 files changed, 0 insertions, 15 deletions
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);