diff options
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/odbc/OStatement.cxx | 5 | ||||
-rw-r--r-- | connectivity/source/inc/odbc/OStatement.hxx | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/connectivity/source/drivers/odbc/OStatement.cxx b/connectivity/source/drivers/odbc/OStatement.cxx index 1398efa2ba92..390f2c32939c 100644 --- a/connectivity/source/drivers/odbc/OStatement.cxx +++ b/connectivity/source/drivers/odbc/OStatement.cxx @@ -217,9 +217,8 @@ void OStatement_Base::reset() throw (SQLException) // clearMyResultSet // If a ResultSet was created for this Statement, close it - - -void OStatement_Base::clearMyResultSet () throw (SQLException) +void OStatement_Base::clearMyResultSet() + throw (SQLException, RuntimeException) { ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(OStatement_BASE::rBHelper.bDisposed); diff --git a/connectivity/source/inc/odbc/OStatement.hxx b/connectivity/source/inc/odbc/OStatement.hxx index 8cfc7601bf40..511b8db6f818 100644 --- a/connectivity/source/inc/odbc/OStatement.hxx +++ b/connectivity/source/inc/odbc/OStatement.hxx @@ -104,7 +104,7 @@ namespace connectivity virtual void setUsingBookmarks(sal_Bool _bUseBookmark) ; void reset () throw( ::com::sun::star::sdbc::SQLException); - void clearMyResultSet () throw( ::com::sun::star::sdbc::SQLException); + void clearMyResultSet() throw (css::sdbc::SQLException, css::uno::RuntimeException); void setWarning (const ::com::sun::star::sdbc::SQLWarning &ex) throw (css::sdbc::SQLException, css::uno::RuntimeException); bool lockIfNecessary (const OUString& sql) throw( ::com::sun::star::sdbc::SQLException); |