From 6a6d83ace33789de951f8655be0108f70108660e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 2 Jul 2014 09:33:29 +0100 Subject: coverity#706374 Uncaught exception Change-Id: Ie17e29e6893c6f69f176d77fab9dcb6a90cb432b --- connectivity/source/drivers/odbc/OStatement.cxx | 4 ++-- connectivity/source/inc/odbc/OStatement.hxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'connectivity/source') diff --git a/connectivity/source/drivers/odbc/OStatement.cxx b/connectivity/source/drivers/odbc/OStatement.cxx index 390f2c32939c..2855ddfba369 100644 --- a/connectivity/source/drivers/odbc/OStatement.cxx +++ b/connectivity/source/drivers/odbc/OStatement.cxx @@ -196,8 +196,8 @@ void SAL_CALL OStatement::clearBatch( ) throw(SQLException, RuntimeException, s } - -void OStatement_Base::reset() throw (SQLException) +void OStatement_Base::reset() + 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 511b8db6f818..16b93172fc3f 100644 --- a/connectivity/source/inc/odbc/OStatement.hxx +++ b/connectivity/source/inc/odbc/OStatement.hxx @@ -103,7 +103,7 @@ namespace connectivity virtual void setResultSetType(sal_Int32 _par0) ; virtual void setUsingBookmarks(sal_Bool _bUseBookmark) ; - void reset () throw( ::com::sun::star::sdbc::SQLException); + void reset() throw (css::sdbc::SQLException, css::uno::RuntimeException); 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); -- cgit