From 1e7ce14b7f104459ee06c472fcc6af39fa4a9750 Mon Sep 17 00:00:00 2001 From: "Andrzej J.R. Hunt" Date: Fri, 6 Sep 2013 21:10:05 +0100 Subject: Use throwFunctionNotSupportedException as appropriate. (firebird-sdbc) Change-Id: Ia2eb42ea2bf0f70a6d1fef29438a43a7a2f69388 --- connectivity/source/drivers/firebird/Connection.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'connectivity/source/drivers/firebird') 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) -- cgit