summaryrefslogtreecommitdiff
path: root/connectivity/source
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2003-08-07 13:36:09 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2003-08-07 13:36:09 +0000
commitb403e0d1fd4ed86dea62944e8345cfa2c5b3a56e (patch)
tree624880291245719b878bdb3c06c9dd2acf0dfa25 /connectivity/source
parent934304fe21a77bc9a4d84654d74dc5f55dfeaf6f (diff)
INTEGRATION: CWS sb5 (1.8.24); FILE MERGED
2003/06/19 09:59:53 sb 1.8.24.1: #109236# Use RTL_TEXTENCODING_JAVA_UTF8 for strings passed to JNI functions.
Diffstat (limited to 'connectivity/source')
-rw-r--r--connectivity/source/drivers/jdbc/Class.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/jdbc/Class.cxx b/connectivity/source/drivers/jdbc/Class.cxx
index 8c59b607647d..d4da9e1b1f69 100644
--- a/connectivity/source/drivers/jdbc/Class.cxx
+++ b/connectivity/source/drivers/jdbc/Class.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: Class.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: rt $ $Date: 2003-04-24 13:19:36 $
+ * last change: $Author: hr $ $Date: 2003-08-07 14:36:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -106,7 +106,7 @@ java_lang_Class * java_lang_Class::forName( const ::rtl::OUString& _par0 )
SDBThreadAttach t;
if( t.pEnv )
{
- ::rtl::OString sClassName = ::rtl::OUStringToOString(_par0, RTL_TEXTENCODING_ASCII_US);
+ ::rtl::OString sClassName = ::rtl::OUStringToOString(_par0, RTL_TEXTENCODING_JAVA_UTF8);
sClassName = sClassName.replace('.','/');
out = t.pEnv->FindClass(sClassName);
ThrowSQLException(t.pEnv,0);