User: hr      
Date: 06/06/19 18:13:24

Modified:
 /dba/connectivity/source/drivers/ado/
  ADriver.cxx

Log:
 INTEGRATION: CWS warnings01 (1.16.30); FILE MERGED
 2005/12/22 11:44:34 fs 1.16.30.3: #i57457# warning-free code
 2005/11/16 12:58:52 fs 1.16.30.2: #i57457# warning free code
 2005/11/07 14:43:06 fs 1.16.30.1: #i57457# warning-free code

File Changes:

Directory: /dba/connectivity/source/drivers/ado/
================================================

File [changed]: ADriver.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/ado/ADriver.cxx?r1=1.16&r2=1.17
Delta lines:  +9 -9
-------------------
--- ADriver.cxx 8 Sep 2005 05:28:15 -0000       1.16
+++ ADriver.cxx 20 Jun 2006 01:13:22 -0000      1.17
@@ -146,7 +146,7 @@
        if ( ! acceptsURL(url) )
                return NULL;
 
-       OConnection* pCon = new OConnection(url,info,this);
+       OConnection* pCon = new OConnection(this);
        pCon->construct(url,info);
        Reference< XConnection > xCon = pCon;
        m_xConnections.push_back(WeakReferenceHelper(*pCon));
@@ -160,7 +160,7 @@
        return 
(!url.compareTo(::rtl::OUString::createFromAscii("sdbc:ado:"),9));
 }
 // 
--------------------------------------------------------------------------------
-Sequence< DriverPropertyInfo > SAL_CALL ODriver::getPropertyInfo( const 
::rtl::OUString& url, const Sequence< PropertyValue >& info ) 
throw(SQLException, RuntimeException)
+Sequence< DriverPropertyInfo > SAL_CALL ODriver::getPropertyInfo( const 
::rtl::OUString& url, const Sequence< PropertyValue >& /*info*/ ) 
throw(SQLException, RuntimeException)
 {
        if ( !acceptsURL(url) )
                
::dbtools::throwGenericSQLException(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Invalid
 URL!")) ,*this);
@@ -188,7 +188,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()) );
                
                for (OWeakRefArray::iterator i = m_xConnections.begin(); 
m_xConnections.end() != i; ++i)
                {




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to