diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-03-08 20:48:43 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-03-08 20:51:59 +0200 |
commit | 78e217bcd039aa4dc3cf3eb41801d3b307941e4d (patch) | |
tree | 54fc0231ca0b68257b54bd962ee0853b3c5473e3 /vcl/inc | |
parent | 332fa1344aaaf8ff190c594fe5829cf1551c5211 (diff) |
Don't crash the other experimental apps
Don't try to find the class org.libreoffice.experimental.desktop.Desktop in
the AndroidSalInstance constructor. It won't exist anyway except in that
specific app. Look up the class in the damaged() method where it is needed.
And actually, of course we should not hardcode the name of the app class like
that, but the app should pass its class down to the native code.
Change-Id: Ic15d5cc2c8d53be558711ca7a145d5489e34d298
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/android/androidinst.hxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/inc/android/androidinst.hxx b/vcl/inc/android/androidinst.hxx index 77b6fd32ad42..22800f0aede2 100644 --- a/vcl/inc/android/androidinst.hxx +++ b/vcl/inc/android/androidinst.hxx @@ -47,11 +47,6 @@ class AndroidSalInstance : public SvpSalInstance // in which soffice_main() runs JNIEnv *m_pJNIEnv; - // The Desktop class - jclass m_nDesktopClass; - - jmethodID m_nCallbackDamaged; - public: AndroidSalInstance( SalYieldMutex *pMutex ); virtual ~AndroidSalInstance(); |