diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-31 21:35:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-01 10:40:14 +0100 |
commit | 50caee009b82fcae7f851e3a1b21ecc3e47a82de (patch) | |
tree | b6c61865222180f91f2664733f17a83f450df59e /dbaccess | |
parent | 66f7aaf7663c3d7f8c5a13093f7449d14e028b03 (diff) |
coverity#1372385 Uncaught exception
Change-Id: Ic8a33ef10d627bc5868a77aa7f14b46682d735d2
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/api/CacheSet.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/core/api/CacheSet.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/core/api/StaticSet.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/core/api/StaticSet.hxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/core/api/CacheSet.cxx b/dbaccess/source/core/api/CacheSet.cxx index ad6bfe3b82df..994274390c06 100644 --- a/dbaccess/source/core/api/CacheSet.cxx +++ b/dbaccess/source/core/api/CacheSet.cxx @@ -500,7 +500,7 @@ Reference< XArray > SAL_CALL OCacheSet::getArray( sal_Int32 columnIndex ) throw( } // XResultSet -bool SAL_CALL OCacheSet::next( ) throw(SQLException, RuntimeException) +bool SAL_CALL OCacheSet::next() throw(SQLException, RuntimeException, std::exception) { m_bInserted = m_bUpdated = m_bDeleted = false; return m_xDriverSet->next(); diff --git a/dbaccess/source/core/api/CacheSet.hxx b/dbaccess/source/core/api/CacheSet.hxx index a9274170b17a..8154741f0b5c 100644 --- a/dbaccess/source/core/api/CacheSet.hxx +++ b/dbaccess/source/core/api/CacheSet.hxx @@ -100,7 +100,7 @@ namespace dbaccess virtual css::uno::Reference< css::sdbc::XClob > SAL_CALL getClob( sal_Int32 columnIndex ) throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception) override; virtual css::uno::Reference< css::sdbc::XArray > SAL_CALL getArray( sal_Int32 columnIndex ) throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception) override; // css::sdbc::XResultSet - virtual bool SAL_CALL next( ) throw(css::sdbc::SQLException, css::uno::RuntimeException); + virtual bool SAL_CALL next() throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception); virtual bool SAL_CALL isBeforeFirst( ) throw(css::sdbc::SQLException, css::uno::RuntimeException); virtual bool SAL_CALL isAfterLast( ) throw(css::sdbc::SQLException, css::uno::RuntimeException); virtual void SAL_CALL beforeFirst( ) throw(css::sdbc::SQLException, css::uno::RuntimeException); diff --git a/dbaccess/source/core/api/StaticSet.cxx b/dbaccess/source/core/api/StaticSet.cxx index 4efd16eba814..f83af066fb03 100644 --- a/dbaccess/source/core/api/StaticSet.cxx +++ b/dbaccess/source/core/api/StaticSet.cxx @@ -108,7 +108,7 @@ void OStaticSet::fillAllRows() } // XResultSet -bool SAL_CALL OStaticSet::next( ) throw(SQLException, RuntimeException) +bool SAL_CALL OStaticSet::next() throw(SQLException, RuntimeException, std::exception) { m_bInserted = m_bUpdated = m_bDeleted = false; diff --git a/dbaccess/source/core/api/StaticSet.hxx b/dbaccess/source/core/api/StaticSet.hxx index 9d76cdda6031..f879bf1650d1 100644 --- a/dbaccess/source/core/api/StaticSet.hxx +++ b/dbaccess/source/core/api/StaticSet.hxx @@ -52,7 +52,7 @@ namespace dbaccess virtual sal_Int32 SAL_CALL hashBookmark( const css::uno::Any& bookmark ) 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; |