summaryrefslogtreecommitdiff
path: root/sj2
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 09:38:41 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 09:38:41 +0000
commita9fd495e740b4699a5c206eac02b688cf2540b35 (patch)
tree3f971ad4a49f018d600924022036d1895a96e6ac /sj2
parent7cd628a40e4b526e2a5552d7b9b97900c3557f36 (diff)
INTEGRATION: CWS warnings01 (1.12.6); FILE MERGED
2005/11/16 16:47:54 pl 1.12.6.2: #i55991# removed warnings 2005/10/27 12:10:53 sb 1.12.6.1: #i53898# Made code warning-free.
Diffstat (limited to 'sj2')
-rw-r--r--sj2/source/jscpp/sjapplet.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sj2/source/jscpp/sjapplet.cxx b/sj2/source/jscpp/sjapplet.cxx
index cbe0dd3234e3..d7c6437f374d 100644
--- a/sj2/source/jscpp/sjapplet.cxx
+++ b/sj2/source/jscpp/sjapplet.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: sjapplet.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 20:13:53 $
+ * last change: $Author: hr $ $Date: 2006-06-19 10:38:41 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -39,7 +39,7 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <unotools/processfactory.hxx>
-#include <rtl/ustring>
+#include "rtl/ustring.hxx"
#include <rtl/process.h>
@@ -331,8 +331,8 @@ void JRE_PropertyChanged( JNIEnv * env, const SvCommandList & rCmdList )
jmethodID mCtor = env->GetMethodID( pClass, "<init>", "()V" );
jobject pProps = env->NewObject( pClass, mCtor, NULL );
- char * pSignature = "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;";
- char * pMethodName = "put";
+ const char * pSignature = "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;";
+ const char * pMethodName = "put";
jmethodID mPut = env->GetMethodID( pClass, pMethodName, pSignature );
env->DeleteLocalRef( pClass );