[Libreoffice-commits] .: np_sdk/mozsrc

Michael Meeks mmeeks at kemper.freedesktop.org
Mon Oct 18 07:34:45 PDT 2010


 np_sdk/mozsrc/jri_md.h   |    8 --------
 np_sdk/mozsrc/jritypes.h |   12 +-----------
 2 files changed, 1 insertion(+), 19 deletions(-)

New commits:
commit 07f4c4054058109c1fccc20951131b2069e6faf1
Author: Povilas Kanapickas <povilas.kanapickas at gmail.com>
Date:   Mon Oct 18 15:33:58 2010 +0100

    remove non-compiled code

diff --git a/np_sdk/mozsrc/jri_md.h b/np_sdk/mozsrc/jri_md.h
index 6630a9b..0bc2e90 100644
--- a/np_sdk/mozsrc/jri_md.h
+++ b/np_sdk/mozsrc/jri_md.h
@@ -171,14 +171,6 @@ extern "C" {
 
 /* Java Scalar Types */
 
-#if 0	/* now in jni.h */
-typedef short			jchar;
-typedef short			jshort;
-typedef float			jfloat;
-typedef double			jdouble;
-typedef juint			jsize;
-#endif
-
 /* moved from jni.h -- Sun's new jni.h doesn't have this anymore */
 #ifdef __cplusplus
 typedef class _jobject *jref;
diff --git a/np_sdk/mozsrc/jritypes.h b/np_sdk/mozsrc/jritypes.h
index 7a833ff..8735f10 100644
--- a/np_sdk/mozsrc/jritypes.h
+++ b/np_sdk/mozsrc/jritypes.h
@@ -88,17 +88,7 @@ typedef enum JRIConstant {
 } JRIConstant;
 
 /* convenience types (these must be distinct struct types for c++ overloading): */
-#if 0	/* now in jni.h */
-typedef struct jbooleanArrayStruct*		jbooleanArray;
-typedef struct jbyteArrayStruct*		jbyteArray;
-typedef struct jcharArrayStruct*		jcharArray;
-typedef struct jshortArrayStruct*		jshortArray;
-typedef struct jintArrayStruct*			jintArray;
-typedef struct jlongArrayStruct*		jlongArray;
-typedef struct jfloatArrayStruct*		jfloatArray;
-typedef struct jdoubleArrayStruct*		jdoubleArray;
-typedef struct jobjectArrayStruct*		jobjectArray;
-#endif
+
 typedef struct jstringArrayStruct*		jstringArray;
 typedef struct jarrayArrayStruct*		jarrayArray;
 


More information about the Libreoffice-commits mailing list