User: obo Date: 2006/10/12 04:30:02 Modified: dba/connectivity/source/drivers/ado/AColumns.cxx
Log: INTEGRATION: CWS sb59 (1.19.28); FILE MERGED 2006/08/08 08:28:53 sb 1.19.28.1: #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.20&r2=1.21 Delta lines: +7 -5 ------------------- --- AColumns.cxx 17 Sep 2006 02:11:29 -0000 1.20 +++ AColumns.cxx 12 Oct 2006 11:30:00 -0000 1.21 @@ -96,7 +96,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 ) @@ -106,12 +106,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; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
