diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-31 21:53:51 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-01 10:40:14 +0100 |
commit | 6ce409bd9cfdda559aa86082896df51dfc5556ee (patch) | |
tree | a738fbb167422c34889a54d45887201c8b1ec990 /connectivity | |
parent | 8e2ba391e4b78f361f9c5f189197680872fb48a9 (diff) |
coverity#1372398 Uncaught exception
Change-Id: Icf6c0f8071a3ea2de81073dfcabc64fae6aeee9c
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/odbc/OStatement.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/inc/odbc/OStatement.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/odbc/OStatement.cxx b/connectivity/source/drivers/odbc/OStatement.cxx index 8b2aad8e2594..1ee4846e6a3f 100644 --- a/connectivity/source/drivers/odbc/OStatement.cxx +++ b/connectivity/source/drivers/odbc/OStatement.cxx @@ -374,7 +374,7 @@ sal_Bool SAL_CALL OStatement_Base::execute( const OUString& sql ) throw(SQLExcep // returns NULL if the current result is not a ResultSet. Reference< XResultSet > OStatement_Base::getResultSet(bool checkCount) - throw (SQLException, css::uno::RuntimeException) + throw (SQLException, css::uno::RuntimeException, std::exception) { ::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 5a068eb8f991..9d3a9631b145 100644 --- a/connectivity/source/inc/odbc/OStatement.hxx +++ b/connectivity/source/inc/odbc/OStatement.hxx @@ -115,7 +115,7 @@ namespace connectivity // returns NULL if the current result is not a ResultSet. css::uno::Reference<css::sdbc::XResultSet> getResultSet(bool checkCount) - throw (css::sdbc::SQLException, css::uno::RuntimeException); + throw (css::sdbc::SQLException, css::uno::RuntimeException, std::exception); /** creates the driver specific resultset (factory) */ |