diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-31 21:46:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-01 10:40:14 +0100 |
commit | c39378edb25686ed445f11fc60d1e0e07eed18dd (patch) | |
tree | 746ef08a4fc4754570d61b0b54f4b0c343ccf4a2 /dbaccess | |
parent | ec2aa9c5ba7a6ccd1f71c26cd78af11007ad5baa (diff) |
coverity#1372391 Uncaught exception
Change-Id: I62358c3705c437dfe1e3e370a2cc857a21144ca2
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/api/KeySet.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/core/api/KeySet.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/core/api/KeySet.cxx b/dbaccess/source/core/api/KeySet.cxx index c2456f2bba2f..7b9aa47b86c3 100644 --- a/dbaccess/source/core/api/KeySet.cxx +++ b/dbaccess/source/core/api/KeySet.cxx @@ -1006,7 +1006,7 @@ Reference<XNameAccess> OKeySet::getKeyColumns() const return xKeyColumns; } -bool SAL_CALL OKeySet::next( ) throw(SQLException, RuntimeException) +bool SAL_CALL OKeySet::next() throw(SQLException, RuntimeException, std::exception) { m_bInserted = m_bUpdated = m_bDeleted = false; diff --git a/dbaccess/source/core/api/KeySet.hxx b/dbaccess/source/core/api/KeySet.hxx index b0aa1e24dd49..ff1ee7a2206a 100644 --- a/dbaccess/source/core/api/KeySet.hxx +++ b/dbaccess/source/core/api/KeySet.hxx @@ -185,7 +185,7 @@ namespace dbaccess virtual bool SAL_CALL rowInserted( ) throw(css::sdbc::SQLException, css::uno::RuntimeException) override; virtual bool SAL_CALL rowDeleted( ) throw(css::sdbc::SQLException, css::uno::RuntimeException) override; // css::sdbc::XResultSet - virtual bool SAL_CALL next( ) throw(css::sdbc::SQLException, css::uno::RuntimeException) override; + virtual bool SAL_CALL next() throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception) override; virtual bool SAL_CALL isBeforeFirst( ) throw(css::sdbc::SQLException, css::uno::RuntimeException) override; virtual bool SAL_CALL isAfterLast( ) throw(css::sdbc::SQLException, css::uno::RuntimeException) override; virtual void SAL_CALL beforeFirst( ) throw(css::sdbc::SQLException, css::uno::RuntimeException) override; |