diff options
author | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-09-06 21:10:05 +0100 |
---|---|---|
committer | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-09-06 21:27:57 +0100 |
commit | 1e7ce14b7f104459ee06c472fcc6af39fa4a9750 (patch) | |
tree | 08ed59b3be3634c116e0d42021b22845f7fb62f7 | |
parent | 79eae295dd40a34e55c4a0a9e870183d78070655 (diff) |
Use throwFunctionNotSupportedException as appropriate. (firebird-sdbc)
Change-Id: Ia2eb42ea2bf0f70a6d1fef29438a43a7a2f69388
-rw-r--r-- | connectivity/source/drivers/firebird/Connection.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/connectivity/source/drivers/firebird/Connection.cxx b/connectivity/source/drivers/firebird/Connection.cxx index 9f5b00373734..b88420f0b6b3 100644 --- a/connectivity/source/drivers/firebird/Connection.cxx +++ b/connectivity/source/drivers/firebird/Connection.cxx @@ -565,16 +565,16 @@ sal_Bool SAL_CALL OConnection::isReadOnly() throw(SQLException, RuntimeException return m_bReadOnly; } -void SAL_CALL OConnection::setCatalog(const OUString& catalog) - throw(SQLException, RuntimeException) +void SAL_CALL OConnection::setCatalog(const OUString& /*catalog*/) + throw(SQLException, RuntimeException) { - ::dbtools::throwFeatureNotImplementedException( "XConnection::setCatalog", *this ); - (void) catalog; + ::dbtools::throwFunctionNotSupportedException("setCatalog", *this); } -OUString SAL_CALL OConnection::getCatalog() throw(SQLException, RuntimeException) +OUString SAL_CALL OConnection::getCatalog() + throw(SQLException, RuntimeException) { - // Unsupported + ::dbtools::throwFunctionNotSupportedException("getCatalog", *this); return OUString(); } @@ -667,9 +667,9 @@ void SAL_CALL OConnection::documentEventOccured( const DocumentEvent& _Event ) } } // XEventListener -void SAL_CALL OConnection::disposing( const EventObject& Source ) throw (RuntimeException) +void SAL_CALL OConnection::disposing(const EventObject& /*rSource*/) + throw (RuntimeException) { - (void) Source; } //-------------------------------------------------------------------- void OConnection::buildTypeInfo() throw( SQLException) |