User: hr Date: 06/06/19 18:38:14 Modified: /dba/connectivity/source/drivers/kab/ KConnection.cxx
Log: INTEGRATION: CWS warnings01 (1.3.4); FILE MERGED 2006/01/30 14:18:52 sb 1.3.4.1: #i53898# Made code warning-free. File Changes: Directory: /dba/connectivity/source/drivers/kab/ ================================================ File [changed]: KConnection.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/kab/KConnection.cxx?r1=1.3&r2=1.4 Delta lines: +12 -12 --------------------- --- KConnection.cxx 19 Jan 2006 15:30:24 -0000 1.3 +++ KConnection.cxx 20 Jun 2006 01:38:11 -0000 1.4 @@ -57,7 +57,7 @@ #include <com/sun/star/sdbc/TransactionIsolation.hpp> #endif -#include <kabc/stdaddressbook.h> +#include "kabc_stdaddressbook.hxx" using namespace connectivity::kab; using namespace com::sun::star::uno; @@ -69,11 +69,11 @@ IMPLEMENT_SERVICE_INFO(KabConnection, "com.sun.star.sdbc.drivers.KabConnection", "com.sun.star.sdbc.Connection") //----------------------------------------------------------------------------- KabConnection::KabConnection(KabDriver* _pDriver) - : OSubComponent<KabConnection, KabConnection_BASE>((::cppu::OWeakObject*)_pDriver, this), - OMetaConnection_BASE(m_aMutex), + : OMetaConnection_BASE(m_aMutex), + OSubComponent<KabConnection, KabConnection_BASE>((::cppu::OWeakObject*)_pDriver, this), + m_xMetaData(NULL), m_pAddressBook(NULL), - m_pDriver(_pDriver), - m_xMetaData(NULL) + m_pDriver(_pDriver) { m_pDriver->acquire(); } @@ -92,7 +92,7 @@ relase_ChildImpl(); } // ----------------------------------------------------------------------------- -void KabConnection::construct(const ::rtl::OUString& url, const Sequence< PropertyValue >& info) throw(SQLException) +void KabConnection::construct(const ::rtl::OUString&, const Sequence< PropertyValue >&) throw(SQLException) { osl_incrementInterlockedCount( &m_refCount ); @@ -130,7 +130,7 @@ return xReturn; } // -------------------------------------------------------------------------------- -Reference< XPreparedStatement > SAL_CALL KabConnection::prepareCall( const ::rtl::OUString& _sSql ) throw(SQLException, RuntimeException) +Reference< XPreparedStatement > SAL_CALL KabConnection::prepareCall( const ::rtl::OUString& ) throw(SQLException, RuntimeException) { ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabConnection_BASE::rBHelper.bDisposed); @@ -147,7 +147,7 @@ return _sSql; } // -------------------------------------------------------------------------------- -void SAL_CALL KabConnection::setAutoCommit( sal_Bool autoCommit ) throw(SQLException, RuntimeException) +void SAL_CALL KabConnection::setAutoCommit( sal_Bool ) throw(SQLException, RuntimeException) { ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabConnection_BASE::rBHelper.bDisposed); @@ -205,7 +205,7 @@ return xMetaData; } // -------------------------------------------------------------------------------- -void SAL_CALL KabConnection::setReadOnly( sal_Bool readOnly ) throw(SQLException, RuntimeException) +void SAL_CALL KabConnection::setReadOnly( sal_Bool ) throw(SQLException, RuntimeException) { ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabConnection_BASE::rBHelper.bDisposed); @@ -222,7 +222,7 @@ return sal_False; } // -------------------------------------------------------------------------------- -void SAL_CALL KabConnection::setCatalog( const ::rtl::OUString& catalog ) throw(SQLException, RuntimeException) +void SAL_CALL KabConnection::setCatalog( const ::rtl::OUString& ) throw(SQLException, RuntimeException) { ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabConnection_BASE::rBHelper.bDisposed); @@ -240,7 +240,7 @@ return ::rtl::OUString(); } // -------------------------------------------------------------------------------- -void SAL_CALL KabConnection::setTransactionIsolation( sal_Int32 level ) throw(SQLException, RuntimeException) +void SAL_CALL KabConnection::setTransactionIsolation( sal_Int32 ) throw(SQLException, RuntimeException) { ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabConnection_BASE::rBHelper.bDisposed); @@ -269,7 +269,7 @@ return NULL; } // -------------------------------------------------------------------------------- -void SAL_CALL KabConnection::setTypeMap( const Reference< ::com::sun::star::container::XNameAccess >& typeMap ) throw(SQLException, RuntimeException) +void SAL_CALL KabConnection::setTypeMap( const Reference< ::com::sun::star::container::XNameAccess >& ) throw(SQLException, RuntimeException) { // the other way around } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
