User: hr Date: 06/06/19 18:25:31 Modified: /dba/connectivity/source/drivers/file/ FDriver.cxx
Log: INTEGRATION: CWS warnings01 (1.11.30); FILE MERGED 2005/11/16 12:59:01 fs 1.11.30.2: #i57457# warning free code 2005/11/07 14:43:29 fs 1.11.30.1: #i57457# warning-free code File Changes: Directory: /dba/connectivity/source/drivers/file/ ================================================= File [changed]: FDriver.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/file/FDriver.cxx?r1=1.11&r2=1.12 Delta lines: +9 -9 ------------------- --- FDriver.cxx 8 Sep 2005 05:55:40 -0000 1.11 +++ FDriver.cxx 20 Jun 2006 01:25:29 -0000 1.12 @@ -140,7 +140,7 @@ return (!url.compareTo(::rtl::OUString::createFromAscii("sdbc:file:"),10)); } // -------------------------------------------------------------------------------- -Sequence< DriverPropertyInfo > SAL_CALL OFileDriver::getPropertyInfo( const ::rtl::OUString& url, const Sequence< PropertyValue >& info ) throw(SQLException, RuntimeException) +Sequence< DriverPropertyInfo > SAL_CALL OFileDriver::getPropertyInfo( const ::rtl::OUString& url, const Sequence< PropertyValue >& /*info*/ ) throw(SQLException, RuntimeException) { if ( acceptsURL(url) ) { @@ -205,7 +205,7 @@ Reference< ::com::sun::star::lang::XUnoTunnel> xTunnel(connection,UNO_QUERY); if(xTunnel.is()) { - OConnection* pSearchConnection = (OConnection*)xTunnel->getSomething(OConnection::getUnoTunnelImplementationId()); + OConnection* pSearchConnection = reinterpret_cast< OConnection* >( xTunnel->getSomething(OConnection::getUnoTunnelImplementationId()) ); OConnection* pConnection = NULL; for (OWeakRefArray::iterator i = m_xConnections.begin(); m_xConnections.end() != i; ++i) { @@ -234,7 +234,7 @@ { // den alten namen beibehalten - OSL_ENSURE((getRowPos() >= 0) && (getRowPos() < rParameterColumns->size()),"Invalid index for orderkey values!"); + OSL_ENSURE(getRowPos() < rParameterColumns->size(),"Invalid index for orderkey values!"); Reference< XPropertySet> xColumn = (*rParameterColumns)[getRowPos()]; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]