diff options
author | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-07-12 09:27:49 +0100 |
---|---|---|
committer | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-07-16 16:40:14 +0200 |
commit | 091b5dfcee4bef783eef4b3005ffea89d807214d (patch) | |
tree | a28ac05f82f8002a64f531fcc7eb092ccdb29bb8 | |
parent | a066f9e3b96c0157a91514f46712a140afe4ac36 (diff) |
Clean up and remove warnings for unsupported methods.
Change-Id: Id1a6c3c438c88791654ca9f301dbc7763caebeab
-rw-r--r-- | connectivity/source/drivers/firebird/FConnection.cxx | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/connectivity/source/drivers/firebird/FConnection.cxx b/connectivity/source/drivers/firebird/FConnection.cxx index 25aa25164eb6..89d1967aa6fe 100644 --- a/connectivity/source/drivers/firebird/FConnection.cxx +++ b/connectivity/source/drivers/firebird/FConnection.cxx @@ -489,23 +489,18 @@ sal_Bool SAL_CALL OConnection::isReadOnly() throw(SQLException, RuntimeException return m_bReadOnly; } -// -------------------------------------------------------------------------------- -void SAL_CALL OConnection::setCatalog( const ::rtl::OUString& catalog ) throw(SQLException, RuntimeException) -{ - ::osl::MutexGuard aGuard( m_aMutex ); - checkDisposed(OConnection_BASE::rBHelper.bDisposed); - // if your database doesn't work with catalogs you go to next method otherwise you kjnow what to do -} -// -------------------------------------------------------------------------------- -::rtl::OUString SAL_CALL OConnection::getCatalog( ) throw(SQLException, RuntimeException) +void SAL_CALL OConnection::setCatalog(const OUString& catalog) + throw(SQLException, RuntimeException) { - ::osl::MutexGuard aGuard( m_aMutex ); - checkDisposed(OConnection_BASE::rBHelper.bDisposed); - + // Unsupported + (void) catalog; +} - // return your current catalog - return ::rtl::OUString(); +OUString SAL_CALL OConnection::getCatalog() throw(SQLException, RuntimeException) +{ + // Unsupported + return OUString(); } void SAL_CALL OConnection::setTransactionIsolation( sal_Int32 level ) throw(SQLException, RuntimeException) |