diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-31 21:45:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-01 10:40:14 +0100 |
commit | ec2aa9c5ba7a6ccd1f71c26cd78af11007ad5baa (patch) | |
tree | e701f793a1403e4b09f6fa87900c3ddf3eebba59 /connectivity/source/inc | |
parent | 99542f5744b8feaec0c44081029cdedd93a77639 (diff) |
coverity#1372390 Uncaught exception
Change-Id: I4bb01b0bb9865986d9da8ed294a46fa7a4488458
Diffstat (limited to 'connectivity/source/inc')
-rw-r--r-- | connectivity/source/inc/file/FPreparedStatement.hxx | 2 | ||||
-rw-r--r-- | connectivity/source/inc/file/FStatement.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/inc/file/FPreparedStatement.hxx b/connectivity/source/inc/file/FPreparedStatement.hxx index 15a2f2dfeb8e..7d4d86855c9c 100644 --- a/connectivity/source/inc/file/FPreparedStatement.hxx +++ b/connectivity/source/inc/file/FPreparedStatement.hxx @@ -73,7 +73,7 @@ namespace connectivity // a Constructor, that is needed for when Returning the Object is needed: OPreparedStatement( OConnection* _pConnection); - virtual void construct(const OUString& sql) throw(css::sdbc::SQLException, css::uno::RuntimeException) override; + virtual void construct(const OUString& sql) throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception) override; // OComponentHelper virtual void SAL_CALL disposing() override; diff --git a/connectivity/source/inc/file/FStatement.hxx b/connectivity/source/inc/file/FStatement.hxx index 81ebaca16f0c..aa3398daa7c8 100644 --- a/connectivity/source/inc/file/FStatement.hxx +++ b/connectivity/source/inc/file/FStatement.hxx @@ -137,7 +137,7 @@ namespace connectivity using OStatement_BASE::operator css::uno::Reference< css::uno::XInterface >; - virtual void construct(const OUString& sql) throw(css::sdbc::SQLException, css::uno::RuntimeException); + virtual void construct(const OUString& sql) throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception); // OComponentHelper virtual void SAL_CALL disposing() override; |