summaryrefslogtreecommitdiff
path: root/sj2
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-12-17 19:36:51 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-12-17 19:36:51 +0000
commitc5a97d0a70b7d96503227f29dc61d3d676d4d6f6 (patch)
tree047df32329ee09b051ca7ac0c1a80f66ca74cd16 /sj2
parent6e168c8764a3efe5aeb6452f72366fc9e51b72a3 (diff)
INTEGRATION: CWS geordi2q11 (1.9.40); FILE MERGED
2003/12/16 16:05:20 hr 1.9.40.1: #111934#: join CWS ooo111fix1
Diffstat (limited to 'sj2')
-rw-r--r--sj2/source/jscpp/sjapplet.cxx13
1 files changed, 10 insertions, 3 deletions
diff --git a/sj2/source/jscpp/sjapplet.cxx b/sj2/source/jscpp/sjapplet.cxx
index 78f52ad994..3164e190c6 100644
--- a/sj2/source/jscpp/sjapplet.cxx
+++ b/sj2/source/jscpp/sjapplet.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sjapplet.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: vg $ $Date: 2003-04-15 16:00:56 $
+ * last change: $Author: vg $ $Date: 2003-12-17 20:36:51 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -60,7 +60,9 @@
************************************************************************/
#include <cstdarg>
+#ifdef SOLAR_JAVA
#include <jnihelp.hxx>
+#endif // SOLAR_JAVA
#include <sjapplet.hxx>
@@ -79,11 +81,15 @@
using namespace ::rtl;
using namespace ::utl;
+#ifdef SOLAR_JAVA
using namespace ::sj2;
+#endif // SOLAR_JAVA
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::uno;
+#ifdef SOLAR_JAVA
using namespace ::com::sun::star::java;
+#endif // SOLAR_JAVA
SjApplet2::SjApplet2()
: _pImpl(new SjApplet2_Impl())
@@ -346,7 +352,7 @@ SjINetSettings::SjINetSettings()
/*
* Java init function to invoke Java runtime using JNI invocation API.
*/
-
+#ifdef SOLAR_JAVA
void JRE_PropertyChanged( JNIEnv * env, const SvCommandList & rCmdList )
{
jclass pClass = env->FindClass("java/util/Properties");
@@ -389,6 +395,7 @@ void JRE_PropertyChanged( JNIEnv * env, const SvCommandList & rCmdList )
env->DeleteLocalRef( pProps );
env->DeleteLocalRef( pClass );
}
+#endif // SOLAR_JAVA
// Settings are detected by the JavaVM service
// This function is not necessary anymore