summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-02 09:33:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-02 09:46:33 +0100
commit6a6d83ace33789de951f8655be0108f70108660e (patch)
tree74b0b3e1f4f1180ddc4ffb003848061ecb36b535 /connectivity
parent7501ee9d9daf69915385d2ea2c9f54be9bdd78b1 (diff)
coverity#706374 Uncaught exception
Change-Id: Ie17e29e6893c6f69f176d77fab9dcb6a90cb432b
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/odbc/OStatement.cxx4
-rw-r--r--connectivity/source/inc/odbc/OStatement.hxx2
2 files changed, 3 insertions, 3 deletions
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);