Kaydet (Commit) 091b5dfc authored tarafından Andrzej J.R. Hunt's avatar Andrzej J.R. Hunt

Clean up and remove warnings for unsupported methods.

Change-Id: Id1a6c3c438c88791654ca9f301dbc7763caebeab
üst a066f9e3
...@@ -489,23 +489,18 @@ sal_Bool SAL_CALL OConnection::isReadOnly() throw(SQLException, RuntimeException ...@@ -489,23 +489,18 @@ sal_Bool SAL_CALL OConnection::isReadOnly() throw(SQLException, RuntimeException
return m_bReadOnly; 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 void SAL_CALL OConnection::setCatalog(const OUString& catalog)
} throw(SQLException, RuntimeException)
// --------------------------------------------------------------------------------
::rtl::OUString SAL_CALL OConnection::getCatalog( ) throw(SQLException, RuntimeException)
{ {
::osl::MutexGuard aGuard( m_aMutex ); // Unsupported
checkDisposed(OConnection_BASE::rBHelper.bDisposed); (void) catalog;
}
// return your current catalog OUString SAL_CALL OConnection::getCatalog() throw(SQLException, RuntimeException)
return ::rtl::OUString(); {
// Unsupported
return OUString();
} }
void SAL_CALL OConnection::setTransactionIsolation( sal_Int32 level ) throw(SQLException, RuntimeException) void SAL_CALL OConnection::setTransactionIsolation( sal_Int32 level ) throw(SQLException, RuntimeException)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment