summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2003-08-07 13:30:26 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2003-08-07 13:30:26 +0000
commit5e8d9a896f949a09e103c8dd7a7ea2718d68ad72 (patch)
tree15b0ecd3a5d11b7d1f217bd63f6e5f73d08e03f5
parente89057ddf75d564339ef07f477dabe169636d897 (diff)
INTEGRATION: CWS sb5 (1.12.16); FILE MERGED
2003/06/19 09:56:28 sb 1.12.16.1: #109236# Use RTL_TEXTENCODING_JAVA_UTF8 for strings passed to JNI functions.
-rw-r--r--bridges/source/jni_uno/jni_data.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/bridges/source/jni_uno/jni_data.cxx b/bridges/source/jni_uno/jni_data.cxx
index 291fb39ec4e2..2edf527ff307 100644
--- a/bridges/source/jni_uno/jni_data.cxx
+++ b/bridges/source/jni_uno/jni_data.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: jni_data.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: rt $ $Date: 2003-04-23 16:35:26 $
+ * last change: $Author: hr $ $Date: 2003-08-07 14:30:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1586,7 +1586,7 @@ void Bridge::map_to_java(
*reinterpret_cast< OUString const * >( &type->pTypeName );
OString class_name(
OUStringToOString(
- type_name.replace( '.', '/' ), RTL_TEXTENCODING_ASCII_US ) );
+ type_name.replace( '.', '/' ), RTL_TEXTENCODING_JAVA_UTF8 ) );
JLocalAutoRef jo_enum_class(
jni, find_class( jni, class_name.getStr() ) );
@@ -1953,7 +1953,7 @@ void Bridge::map_to_java(
OString class_name(
OUStringToOString(
element_type_name.replace( '.', '/' ),
- RTL_TEXTENCODING_ASCII_US ) );
+ RTL_TEXTENCODING_JAVA_UTF8 ) );
JLocalAutoRef jo_enum_class(
jni, find_class( jni, class_name.getStr() ) );