summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2003-08-27 15:41:48 +0000
committerKurt Zenker <kz@openoffice.org>2003-08-27 15:41:48 +0000
commitf1b9e65ce6666036abb58281c87f3b1e0fbfecde (patch)
tree720e2446296c902111caeb39ba25a252864314ae
parentaddae3e87b9d919cdc7efadd0655ed0da0de222d (diff)
INTEGRATION: CWS geordi2q03 (1.13.6); FILE MERGED
2003/08/27 15:02:43 hr 1.13.6.1: #111934#: join from CWS sdk07
-rw-r--r--bridges/source/jni_uno/jni_data.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/bridges/source/jni_uno/jni_data.cxx b/bridges/source/jni_uno/jni_data.cxx
index 2edf527ff307..42be688a576a 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.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: hr $ $Date: 2003-08-07 14:30:26 $
+ * last change: $Author: kz $ $Date: 2003-08-27 16:41:48 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1964,10 +1964,11 @@ void Bridge::map_to_java(
if (0 < nElements)
{
- // static <enum_class>.fromInt( int )
+ // call static <enum_class>.fromInt( int )
OStringBuffer sig_buf( 3 + class_name.getLength() );
- sig_buf.append( RTL_CONSTASCII_STRINGPARAM("(I)") );
+ sig_buf.append( RTL_CONSTASCII_STRINGPARAM("(I)L") );
sig_buf.append( class_name );
+ sig_buf.append( ';' );
OString sig( sig_buf.makeStringAndClear() );
jmethodID method_id = jni->GetStaticMethodID(
(jclass) jo_enum_class.get(), "fromInt", sig.getStr() );