User: hr      
Date: 06/06/19 18:34:17

Modified:
 /dba/connectivity/source/drivers/jdbc/
  DriverManager.cxx

Log:
 INTEGRATION: CWS warnings01 (1.9.30); FILE MERGED
 2005/11/21 10:07:47 fs 1.9.30.2: #i57457# warning-free code on unx*
 2005/11/07 14:43:41 fs 1.9.30.1: #i57457# warning-free code

File Changes:

Directory: /dba/connectivity/source/drivers/jdbc/
=================================================

File [changed]: DriverManager.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/jdbc/DriverManager.cxx?r1=1.9&r2=1.10
Delta lines:  +4 -5
-------------------
--- DriverManager.cxx   8 Sep 2005 06:10:01 -0000       1.9
+++ DriverManager.cxx   20 Jun 2006 01:34:15 -0000      1.10
@@ -82,8 +82,8 @@
                // Parameter konvertieren
                args[0].l = convertwchar_tToJavaString(t.pEnv,url);
                // temporaere Variable initialisieren
-               static char * cSignature = 
"(Ljava/lang/String;)Ljava/sql/Driver;";
-               static char * cMethodName = "getDriver";
+               static const char * cSignature = 
"(Ljava/lang/String;)Ljava/sql/Driver;";
+               static const char * cMethodName = "getDriver";
                // Java-Call absetzen
                static jmethodID mID = t.pEnv->GetStaticMethodID( getMyClass(), 
cMethodName, cSignature );OSL_ENSURE(mID,"Unknown method id!");
                if( mID )
@@ -103,12 +103,11 @@
 void java_sql_DriverManager::setLoginTimeout(sal_Int32 _par0)
 {
     SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!");
-       jobject out(0);
        if( t.pEnv )
        {
                // temporaere Variable initialisieren
-               static char * cSignature = "(I)V";
-               static char * cMethodName = "setLoginTimeout";
+               static const char * cSignature = "(I)V";
+               static const char * cMethodName = "setLoginTimeout";
                // Java-Call absetzen
                static jmethodID mID = t.pEnv->GetMethodID( getMyClass(), 
cMethodName, cSignature );OSL_ENSURE(mID,"Unknown method id!");
                if( mID )




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to