summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-09-03 18:51:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-09-03 18:51:05 +0100
commita54f7b5ce913505c93764d4dc6bca39118457830 (patch)
treecaee65f19d963ecad5870a5e4a48ece2d1398a0e /dbaccess
parent696e83b663d4f3e00f23947613f9f3916a4dd14d (diff)
coverity#1372446 Uncaught exception
Change-Id: I831c0d2e6449eae76383163f08e7b16c7decc92f
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 917f78bae335..a42d27393805 100644
--- a/dbaccess/source/core/api/KeySet.cxx
+++ b/dbaccess/source/core/api/KeySet.cxx
@@ -1184,7 +1184,7 @@ bool SAL_CALL OKeySet::previous( ) throw(SQLException, RuntimeException)
return previous_checked(true);
}
-bool OKeySet::doTryRefetch_throw() throw(SQLException, RuntimeException)
+bool OKeySet::doTryRefetch_throw() throw(SQLException, RuntimeException, std::exception)
{
ensureStatement( );
// we just reassign the base members
diff --git a/dbaccess/source/core/api/KeySet.hxx b/dbaccess/source/core/api/KeySet.hxx
index 5c3fa2b67f7a..9d559a4f8afd 100644
--- a/dbaccess/source/core/api/KeySet.hxx
+++ b/dbaccess/source/core/api/KeySet.hxx
@@ -138,7 +138,7 @@ namespace dbaccess
sal_Int32 _nType,
sal_Int32 _nScale );
OUStringBuffer createKeyFilter( );
- bool doTryRefetch_throw() throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ bool doTryRefetch_throw() throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception);
void tryRefetch(const ORowSetRow& _rInsertRow,bool bRefetch);
void executeUpdate(const ORowSetRow& _rInsertRow, const ORowSetRow& _rOriginalRow, const OUString& i_sSQL, const OUString& i_sTableName,const ::std::vector<sal_Int32>& _aIndexColumnPositions = ::std::vector<sal_Int32>());
void executeInsert( const ORowSetRow& _rInsertRow, const OUString& i_sSQL, const OUString& i_sTableName, bool bRefetch = false);