summaryrefslogtreecommitdiffstats
path: root/vcl/inc/android
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-08 20:48:43 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-08 20:51:59 +0200
commit78e217bcd039aa4dc3cf3eb41801d3b307941e4d (patch)
tree54fc0231ca0b68257b54bd962ee0853b3c5473e3 /vcl/inc/android
parentSwTableBox::IsValidNumTxtNd: Allow trivial formatting (diff)
downloadcore-78e217bcd039aa4dc3cf3eb41801d3b307941e4d.tar.gz
core-78e217bcd039aa4dc3cf3eb41801d3b307941e4d.zip
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/android')
-rw-r--r--vcl/inc/android/androidinst.hxx5
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();