User: hr Date: 06/06/19 18:20:38 Modified: /dba/connectivity/source/drivers/dbase/ DIndexes.cxx
Log: INTEGRATION: CWS warnings01 (1.14.30); FILE MERGED 2005/11/16 12:58:55 fs 1.14.30.2: #i57457# warning free code 2005/11/07 14:43:13 fs 1.14.30.1: #i57457# warning-free code File Changes: Directory: /dba/connectivity/source/drivers/dbase/ ================================================== File [changed]: DIndexes.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/dbase/DIndexes.cxx?r1=1.14&r2=1.15 Delta lines: +5 -5 ------------------- --- DIndexes.cxx 8 Sep 2005 05:39:08 -0000 1.14 +++ DIndexes.cxx 20 Jun 2006 01:20:35 -0000 1.15 @@ -113,19 +113,19 @@ Reference<XUnoTunnel> xTunnel(descriptor,UNO_QUERY); if(xTunnel.is()) { - ODbaseIndex* pIndex = (ODbaseIndex*)xTunnel->getSomething(ODbaseIndex::getUnoTunnelImplementationId()); + ODbaseIndex* pIndex = reinterpret_cast< ODbaseIndex* >( xTunnel->getSomething(ODbaseIndex::getUnoTunnelImplementationId()) ); if(!pIndex || !pIndex->CreateImpl()) throw SQLException(); } } // ------------------------------------------------------------------------- // XDrop -void ODbaseIndexes::dropObject(sal_Int32 _nPos,const ::rtl::OUString _sElementName) +void ODbaseIndexes::dropObject(sal_Int32 _nPos,const ::rtl::OUString /*_sElementName*/) { Reference< XUnoTunnel> xTunnel(getObject(_nPos),UNO_QUERY); if ( xTunnel.is() ) { - ODbaseIndex* pIndex = (ODbaseIndex*)xTunnel->getSomething(ODbaseIndex::getUnoTunnelImplementationId()); + ODbaseIndex* pIndex = reinterpret_cast< ODbaseIndex* >( xTunnel->getSomething(ODbaseIndex::getUnoTunnelImplementationId()) ); if ( pIndex ) pIndex->DropImpl(); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
