summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/api/KeySet.cxx2
-rw-r--r--dbaccess/source/core/api/KeySet.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/core/api/KeySet.cxx b/dbaccess/source/core/api/KeySet.cxx
index 7b9aa47b86c3..917f78bae335 100644
--- a/dbaccess/source/core/api/KeySet.cxx
+++ b/dbaccess/source/core/api/KeySet.cxx
@@ -1059,7 +1059,7 @@ void SAL_CALL OKeySet::afterLast( ) throw(SQLException, RuntimeException)
invalidateRow();
}
-bool SAL_CALL OKeySet::first( ) throw(SQLException, RuntimeException)
+bool SAL_CALL OKeySet::first() throw(SQLException, RuntimeException, std::exception)
{
m_bInserted = m_bUpdated = m_bDeleted = false;
m_aKeyIter = m_aKeyMap.begin();
diff --git a/dbaccess/source/core/api/KeySet.hxx b/dbaccess/source/core/api/KeySet.hxx
index ff1ee7a2206a..5c3fa2b67f7a 100644
--- a/dbaccess/source/core/api/KeySet.hxx
+++ b/dbaccess/source/core/api/KeySet.hxx
@@ -190,7 +190,7 @@ namespace dbaccess
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;
virtual void SAL_CALL afterLast( ) throw(css::sdbc::SQLException, css::uno::RuntimeException) override;
- virtual bool SAL_CALL first( ) throw(css::sdbc::SQLException, css::uno::RuntimeException) override;
+ virtual bool SAL_CALL first() throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception) override;
virtual bool SAL_CALL last( ) throw(css::sdbc::SQLException, css::uno::RuntimeException) override;
virtual sal_Int32 SAL_CALL getRow( ) throw(css::sdbc::SQLException, css::uno::RuntimeException) override;
virtual bool SAL_CALL absolute( sal_Int32 row ) throw(css::sdbc::SQLException, css::uno::RuntimeException) override;