Tag: cws_src680_sb59 User: sb Date: 2006/08/08 01:28:56 Modified: dba/connectivity/source/drivers/ado/AColumns.cxx dba/connectivity/source/drivers/ado/AKeys.cxx dba/connectivity/source/drivers/ado/ATables.cxx
Log: #i67487# Made code warning-free (wntmsci10). File Changes: Directory: /dba/connectivity/source/drivers/ado/ ================================================ File [changed]: AColumns.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/ado/AColumns.cxx?r1=1.19&r2=1.19.28.1 Delta lines: +10 -8 -------------------- --- AColumns.cxx 10 Jul 2006 14:23:13 -0000 1.19 +++ AColumns.cxx 8 Aug 2006 08:28:53 -0000 1.19.28.1 @@ -4,9 +4,9 @@ * * $RCSfile: AColumns.cxx,v $ * - * $Revision: 1.19 $ + * $Revision: 1.19.28.1 $ * - * last change: $Author: obo $ $Date: 2006/07/10 14:23:13 $ + * last change: $Author: sb $ $Date: 2006/08/08 08:28:53 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -93,7 +93,7 @@ } // ------------------------------------------------------------------------- // XAppend -sdbcx::ObjectType OColumns::appendObject( const ::rtl::OUString& _rForName, const Reference< XPropertySet >& descriptor ) +sdbcx::ObjectType OColumns::appendObject( const ::rtl::OUString&, const Reference< XPropertySet >& descriptor ) { OAdoColumn* pColumn = NULL; if ( !getImplementation( pColumn, descriptor ) || pColumn == NULL ) @@ -103,12 +103,14 @@ ); WpADOColumn aColumn = pColumn->getColumnImpl(); - DataTypeEnum eType = aColumn.get_Type(); #if OSL_DEBUG_LEVEL > 0 - sal_Int32 nPrecision = aColumn.get_Precision(); (void)nPrecision; - sal_Int32 nScale = aColumn.get_NumericScale(); (void)nScale; - sal_Int32 nType = ADOS::MapADOType2Jdbc(eType); (void)nType; + sal_Int32 nPrecision; + sal_Int32 nScale; + sal_Int32 nType; + nPrecision = aColumn.get_Precision(); + nScale = aColumn.get_NumericScale(); + nType = ADOS::MapADOType2Jdbc(aColumn.get_Type()); #endif ::rtl::OUString sTypeName; File [changed]: AKeys.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/ado/AKeys.cxx?r1=1.17&r2=1.17.28.1 Delta lines: +4 -4 ------------------- --- AKeys.cxx 10 Jul 2006 14:23:55 -0000 1.17 +++ AKeys.cxx 8 Aug 2006 08:28:53 -0000 1.17.28.1 @@ -4,9 +4,9 @@ * * $RCSfile: AKeys.cxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.17.28.1 $ * - * last change: $Author: obo $ $Date: 2006/07/10 14:23:55 $ + * last change: $Author: sb $ $Date: 2006/08/08 08:28:53 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -93,7 +93,7 @@ } // ------------------------------------------------------------------------- // XAppend -sdbcx::ObjectType OKeys::appendObject( const ::rtl::OUString& _rForName, const Reference< XPropertySet >& descriptor ) +sdbcx::ObjectType OKeys::appendObject( const ::rtl::OUString&, const Reference< XPropertySet >& descriptor ) { OAdoKey* pKey = NULL; if ( !getImplementation( pKey, descriptor ) || pKey == NULL) File [changed]: ATables.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/ado/ATables.cxx?r1=1.18&r2=1.18.28.1 Delta lines: +4 -4 ------------------- --- ATables.cxx 10 Jul 2006 14:24:17 -0000 1.18 +++ ATables.cxx 8 Aug 2006 08:28:54 -0000 1.18.28.1 @@ -4,9 +4,9 @@ * * $RCSfile: ATables.cxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.18.28.1 $ * - * last change: $Author: obo $ $Date: 2006/07/10 14:24:17 $ + * last change: $Author: sb $ $Date: 2006/08/08 08:28:54 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -108,7 +108,7 @@ } // ------------------------------------------------------------------------- // XAppend -sdbcx::ObjectType OTables::appendObject( const ::rtl::OUString& _rForName, const Reference< XPropertySet >& descriptor ) +sdbcx::ObjectType OTables::appendObject( const ::rtl::OUString&, const Reference< XPropertySet >& descriptor ) { OAdoTable* pTable = NULL; if ( !getImplementation( pTable, descriptor ) || pTable == NULL ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
