User: hr Date: 06/06/19 18:33:26 Modified: /dba/connectivity/source/drivers/jdbc/ Class.cxx
Log: INTEGRATION: CWS warnings01 (1.11.30); FILE MERGED 2005/11/21 10:07:46 fs 1.11.30.2: #i57457# warning-free code on unx* 2005/11/07 14:43:39 fs 1.11.30.1: #i57457# warning-free code File Changes: Directory: /dba/connectivity/source/drivers/jdbc/ ================================================= File [changed]: Class.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/jdbc/Class.cxx?r1=1.11&r2=1.12 Delta lines: +10 -10 --------------------- --- Class.cxx 8 Sep 2005 06:08:41 -0000 1.11 +++ Class.cxx 20 Jun 2006 01:33:23 -0000 1.12 @@ -91,13 +91,13 @@ sal_Bool java_lang_Class::isAssignableFrom( java_lang_Class * _par0 ) { - jboolean out; + jboolean out(0); SDBThreadAttach t; if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "(Ljava/lang/Class;)Z"; - static char * cMethodName = "isAssignableFrom"; + static const char * cSignature = "(Ljava/lang/Class;)Z"; + static const char * cMethodName = "isAssignableFrom"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -120,8 +120,8 @@ SDBThreadAttach t; if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "()Ljava/lang/Object;"; - static char * cMethodName = "newInstance"; + static const char * cSignature = "()Ljava/lang/Object;"; + static const char * cMethodName = "newInstance"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -142,8 +142,8 @@ if( t.pEnv ) { // temporaere Variable initialisieren - static char * cSignature = "()Ljava/lang/Object;"; - static char * cMethodName = "newInstance"; + static const char * cSignature = "()Ljava/lang/Object;"; + static const char * cMethodName = "newInstance"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -163,8 +163,8 @@ ::rtl::OUString aStr; if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "()Ljava/lang/String;"; - static char * cMethodName = "getName"; + static const char * cSignature = "()Ljava/lang/String;"; + static const char * cMethodName = "getName"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
