User: hr Date: 06/06/19 18:36:06 Modified: /dba/connectivity/source/drivers/jdbc/ ResultSetMetaData.cxx
Log: INTEGRATION: CWS warnings01 (1.8.30); FILE MERGED 2005/11/21 10:07:49 fs 1.8.30.1: #i57457# warning-free code on unx* File Changes: Directory: /dba/connectivity/source/drivers/jdbc/ ================================================= File [changed]: ResultSetMetaData.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/jdbc/ResultSetMetaData.cxx?r1=1.8&r2=1.9 Delta lines: +42 -42 --------------------- --- ResultSetMetaData.cxx 8 Sep 2005 06:12:17 -0000 1.8 +++ ResultSetMetaData.cxx 20 Jun 2006 01:36:04 -0000 1.9 @@ -92,8 +92,8 @@ if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "(I)I"; - static char * cMethodName = "getColumnDisplaySize"; + static const char * cSignature = "(I)I"; + static const char * cMethodName = "getColumnDisplaySize"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -114,8 +114,8 @@ if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "(I)I"; - static char * cMethodName = "getColumnType"; + static const char * cSignature = "(I)I"; + static const char * cMethodName = "getColumnType"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -136,8 +136,8 @@ if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "()I"; - static char * cMethodName = "getColumnCount"; + static const char * cSignature = "()I"; + static const char * cMethodName = "getColumnCount"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -157,8 +157,8 @@ SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "(I)Z"; - static char * cMethodName = "isCaseSensitive"; + static const char * cSignature = "(I)Z"; + static const char * cMethodName = "isCaseSensitive"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -177,8 +177,8 @@ ::rtl::OUString aStr; if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "(I)Ljava/lang/String;"; - static char * cMethodName = "getSchemaName"; + static const char * cSignature = "(I)Ljava/lang/String;"; + static const char * cMethodName = "getSchemaName"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -202,8 +202,8 @@ ::rtl::OUString aStr; if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "(I)Ljava/lang/String;"; - static char * cMethodName = "getColumnName"; + static const char * cSignature = "(I)Ljava/lang/String;"; + static const char * cMethodName = "getColumnName"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -226,8 +226,8 @@ ::rtl::OUString aStr; if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "(I)Ljava/lang/String;"; - static char * cMethodName = "getTableName"; + static const char * cSignature = "(I)Ljava/lang/String;"; + static const char * cMethodName = "getTableName"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -250,8 +250,8 @@ ::rtl::OUString aStr; if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "(I)Ljava/lang/String;"; - static char * cMethodName = "getCatalogName"; + static const char * cSignature = "(I)Ljava/lang/String;"; + static const char * cMethodName = "getCatalogName"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -274,8 +274,8 @@ ::rtl::OUString aStr; if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "(I)Ljava/lang/String;"; - static char * cMethodName = "getColumnTypeName"; + static const char * cSignature = "(I)Ljava/lang/String;"; + static const char * cMethodName = "getColumnTypeName"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -298,8 +298,8 @@ ::rtl::OUString aStr; if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "(I)Ljava/lang/String;"; - static char * cMethodName = "getColumnLabel"; + static const char * cSignature = "(I)Ljava/lang/String;"; + static const char * cMethodName = "getColumnLabel"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -322,8 +322,8 @@ ::rtl::OUString aStr; if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "(I)Ljava/lang/String;"; - static char * cMethodName = "getColumnClassName"; + static const char * cSignature = "(I)Ljava/lang/String;"; + static const char * cMethodName = "getColumnClassName"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -347,8 +347,8 @@ SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "(I)Z"; - static char * cMethodName = "isCurrency"; + static const char * cSignature = "(I)Z"; + static const char * cMethodName = "isCurrency"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -368,8 +368,8 @@ SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "(I)Z"; - static char * cMethodName = "isAutoIncrement"; + static const char * cSignature = "(I)Z"; + static const char * cMethodName = "isAutoIncrement"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -390,8 +390,8 @@ SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "(I)Z"; - static char * cMethodName = "isSigned"; + static const char * cSignature = "(I)Z"; + static const char * cMethodName = "isSigned"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -410,8 +410,8 @@ SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "(I)I"; - static char * cMethodName = "getPrecision"; + static const char * cSignature = "(I)I"; + static const char * cMethodName = "getPrecision"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -431,8 +431,8 @@ SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "(I)I"; - static char * cMethodName = "getScale"; + static const char * cSignature = "(I)I"; + static const char * cMethodName = "getScale"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -452,8 +452,8 @@ SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "(I)I"; - static char * cMethodName = "isNullable"; + static const char * cSignature = "(I)I"; + static const char * cMethodName = "isNullable"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -474,8 +474,8 @@ SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "(I)Z"; - static char * cMethodName = "isSearchable"; + static const char * cSignature = "(I)Z"; + static const char * cMethodName = "isSearchable"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -496,8 +496,8 @@ SDBThreadAttach t; if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "(I)Z"; - static char * cMethodName = "isReadOnly"; + static const char * cSignature = "(I)Z"; + static const char * cMethodName = "isReadOnly"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -518,8 +518,8 @@ SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "(I)Z"; - static char * cMethodName = "isDefinitelyWritable"; + static const char * cSignature = "(I)Z"; + static const char * cMethodName = "isDefinitelyWritable"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) @@ -539,8 +539,8 @@ SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); if( t.pEnv ){ // temporaere Variable initialisieren - static char * cSignature = "(I)Z"; - static char * cMethodName = "isWritable"; + static const char * cSignature = "(I)Z"; + static const char * cMethodName = "isWritable"; // Java-Call absetzen static jmethodID mID = NULL; if ( !mID ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]