User: hr Date: 06/06/19 18:26:45 Modified: /dba/connectivity/source/drivers/file/ FTable.cxx
Log: INTEGRATION: CWS warnings01 (1.21.30); FILE MERGED 2005/11/21 15:51:38 fs 1.21.30.3: #i57457# OSL_VERIFY_EQUALS 2005/11/16 12:59:02 fs 1.21.30.2: #i57457# warning free code 2005/11/07 14:43:33 fs 1.21.30.1: #i57457# warning-free code File Changes: Directory: /dba/connectivity/source/drivers/file/ ================================================= File [changed]: FTable.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/file/FTable.cxx?r1=1.21&r2=1.22 Delta lines: +14 -14 --------------------- --- FTable.cxx 8 Sep 2005 05:57:35 -0000 1.21 +++ FTable.cxx 20 Jun 2006 01:26:43 -0000 1.22 @@ -71,14 +71,14 @@ using namespace ::com::sun::star::sdbc; using namespace ::com::sun::star::container; -DBG_NAME( file_OFileTable ); +DBG_NAME( file_OFileTable ) OFileTable::OFileTable(sdbcx::OCollection* _pTables,OConnection* _pConnection) : OTable_TYPEDEF(_pTables,_pConnection->getMetaData()->storesMixedCaseQuotedIdentifiers()) ,m_pConnection(_pConnection) + ,m_pFileStream(NULL) ,m_nFilePos(0) - ,m_nBufferSize(0) ,m_pBuffer(NULL) - ,m_pFileStream(NULL) + ,m_nBufferSize(0) ,m_bWriteable(sal_False) { DBG_CTOR( file_OFileTable, NULL ); @@ -101,10 +101,10 @@ _SchemaName, _CatalogName) ,m_pConnection(_pConnection) + ,m_pFileStream(NULL) ,m_nFilePos(0) - ,m_nBufferSize(0) ,m_pBuffer(NULL) - ,m_pFileStream(NULL) + ,m_nBufferSize(0) ,m_bWriteable(sal_False) { DBG_CTOR( file_OFileTable, NULL ); @@ -187,10 +187,8 @@ sal_Int64 OFileTable::getSomething( const Sequence< sal_Int8 > & rId ) throw (RuntimeException) { return (rId.getLength() == 16 && 0 == rtl_compareMemory(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) ) - ? - (sal_Int64)this - : - OTable_TYPEDEF::getSomething(rId); + ? reinterpret_cast< sal_Int64 >( this ) + : OTable_TYPEDEF::getSomething(rId); } // ----------------------------------------------------------------------------- void OFileTable::FileClose() @@ -221,27 +219,29 @@ OTable_TYPEDEF::release(); } // ----------------------------------------------------------------------------- -BOOL OFileTable::InsertRow(OValueRefVector& rRow, BOOL bFlush,const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess>& _xCols) +BOOL OFileTable::InsertRow(OValueRefVector& /*rRow*/, BOOL /*bFlush*/,const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess>& /*_xCols*/) { return sal_False; } // ----------------------------------------------------------------------------- -BOOL OFileTable::DeleteRow(const OSQLColumns& _rCols) +BOOL OFileTable::DeleteRow(const OSQLColumns& /*_rCols*/) { return sal_False; } // ----------------------------------------------------------------------------- -BOOL OFileTable::UpdateRow(OValueRefVector& rRow, OValueRefRow& pOrgRow,const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess>& _xCols) +BOOL OFileTable::UpdateRow(OValueRefVector& /*rRow*/, OValueRefRow& /*pOrgRow*/,const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess>& /*_xCols*/) { return sal_False; } // ----------------------------------------------------------------------------- -void OFileTable::addColumn(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet>& descriptor) +void OFileTable::addColumn(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet>& /*descriptor*/) { + OSL_ENSURE( false, "OFileTable::addColumn: not implemented!" ); } // ----------------------------------------------------------------------------- -void OFileTable::dropColumn(sal_Int32 _nPos) +void OFileTable::dropColumn(sal_Int32 /*_nPos*/) { + OSL_ENSURE( false, "OFileTable::addColumn: not implemented!" ); } // ----------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]