diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-10-01 12:17:31 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-10-01 12:17:31 +0200 |
commit | c8ae1787c6315bd7a8513656626132f1140e77f9 (patch) | |
tree | 866587dfd22b0fe7f621ec4254cdb00f721ff9e7 /sal | |
parent | 609e22b0dcbadc0501847fd574f58085b0891d75 (diff) |
Blind fix for Android
Change-Id: If997720635f99726e14c00132308529f96e639c8
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/thread.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/thread.cxx b/sal/osl/unx/thread.cxx index 739dd180f727..f23f55bdee7c 100644 --- a/sal/osl/unx/thread.cxx +++ b/sal/osl/unx/thread.cxx @@ -233,14 +233,14 @@ static void* osl_thread_start_Impl (void* pData) { #ifdef ANDROID JNIEnv* env = 0; - int res = (*lo_get_javavm())->AttachCurrentThread(lo_get_javavm(), &env, NULL); + int res = (*lo_get_javavm()).AttachCurrentThread(&env, NULL); __android_log_print(ANDROID_LOG_INFO, "LibreOffice", "New sal thread started and attached res=%d", res); #endif /* call worker function */ pImpl->m_WorkerFunction(pImpl->m_pData); #ifdef ANDROID - res = (*lo_get_javavm())->DetachCurrentThread(lo_get_javavm()); + res = (*lo_get_javavm()).DetachCurrentThread(); __android_log_print(ANDROID_LOG_INFO, "LibreOffice", "Detached finished sal thread res=%d", res); #endif } |