coverity#1372400 Uncaught exception

Change-Id: I2319602a3b04bc0c5a6d4082ac62f98f7a697cf8
This commit is contained in:
Caolán McNamara
2016-08-31 21:55:12 +01:00
parent 6ce409bd9c
commit a9dcaba2d5
2 changed files with 2 additions and 2 deletions

View File

@@ -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();

View File

@@ -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;