summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/jdbc/DriverManager.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-11-09 11:12:30 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-11-09 11:12:30 +0000
commitb5bcbba13d421bdb7b957911925a010fac7f306e (patch)
tree08813f203e3698b71f2e1745594dd4a6f502ffb5 /connectivity/source/drivers/jdbc/DriverManager.cxx
parent9bd342c5c5e406897b6796fc56293cba1da80886 (diff)
INTEGRATION: CWS hsqldb (1.5.148); FILE MERGED
2004/09/10 12:45:02 oj 1.5.148.1: #i33348# code optimizing
Diffstat (limited to 'connectivity/source/drivers/jdbc/DriverManager.cxx')
-rw-r--r--connectivity/source/drivers/jdbc/DriverManager.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/connectivity/source/drivers/jdbc/DriverManager.cxx b/connectivity/source/drivers/jdbc/DriverManager.cxx
index 437758c175..bbade6f913 100644
--- a/connectivity/source/drivers/jdbc/DriverManager.cxx
+++ b/connectivity/source/drivers/jdbc/DriverManager.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: DriverManager.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: rt $ $Date: 2003-04-24 13:20:20 $
+ * last change: $Author: hr $ $Date: 2004-11-09 12:12:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -108,8 +108,8 @@ jobject java_sql_DriverManager::getDriver(const ::rtl::OUString &url)
// Parameter konvertieren
args[0].l = convertwchar_tToJavaString(t.pEnv,url);
// temporaere Variable initialisieren
- char * cSignature = "(Ljava/lang/String;)Ljava/sql/Driver;";
- char * cMethodName = "getDriver";
+ static char * cSignature = "(Ljava/lang/String;)Ljava/sql/Driver;";
+ static char * cMethodName = "getDriver";
// Java-Call absetzen
jmethodID mID = t.pEnv->GetStaticMethodID( getMyClass(), cMethodName, cSignature );OSL_ENSURE(mID,"Unknown method id!");
if( mID )
@@ -133,8 +133,8 @@ void java_sql_DriverManager::setLoginTimeout(sal_Int32 _par0)
if( t.pEnv )
{
// temporaere Variable initialisieren
- char * cSignature = "(I)V";
- char * cMethodName = "setLoginTimeout";
+ static char * cSignature = "(I)V";
+ static char * cMethodName = "setLoginTimeout";
// Java-Call absetzen
jmethodID mID = t.pEnv->GetMethodID( getMyClass(), cMethodName, cSignature );OSL_ENSURE(mID,"Unknown method id!");
if( mID )