summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/dbase/DIndexes.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 00:20:35 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 00:20:35 +0000
commit7d2c3710c26577626ee1c43ec5aba59f8e466df8 (patch)
treeda33374e2a14fec5f8e9676892e456a564ed9284 /connectivity/source/drivers/dbase/DIndexes.cxx
parent6d19453f5b4f5c591112c8ca60e7a6f18c26d405 (diff)
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
Diffstat (limited to 'connectivity/source/drivers/dbase/DIndexes.cxx')
-rw-r--r--connectivity/source/drivers/dbase/DIndexes.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/connectivity/source/drivers/dbase/DIndexes.cxx b/connectivity/source/drivers/dbase/DIndexes.cxx
index ccccbc9da9b2..c8588ca4378f 100644
--- a/connectivity/source/drivers/dbase/DIndexes.cxx
+++ b/connectivity/source/drivers/dbase/DIndexes.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: DIndexes.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 05:39:08 $
+ * last change: $Author: hr $ $Date: 2006-06-20 01:20:35 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -113,19 +113,19 @@ void ODbaseIndexes::appendObject( const Reference< XPropertySet >& descriptor )
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();
}