From b9d0b57b1760a5c394f376941a8b843ce99ae40e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 26 Oct 2016 09:31:28 +0100 Subject: coverity#1374283 Uncaught exception Change-Id: I658a12da4d30f360f207ca06dcf3650ba18cc7a2 --- connectivity/source/drivers/odbc/OResultSet.cxx | 2 +- connectivity/source/inc/odbc/OResultSet.hxx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/drivers/odbc/OResultSet.cxx b/connectivity/source/drivers/odbc/OResultSet.cxx index 35077933b84e..9318d47979b3 100644 --- a/connectivity/source/drivers/odbc/OResultSet.cxx +++ b/connectivity/source/drivers/odbc/OResultSet.cxx @@ -1434,7 +1434,7 @@ sal_Bool OResultSet::convertFastPropertyValue( Any & rOldValue, sal_Int32 nHandle, const Any& rValue ) - throw (css::lang::IllegalArgumentException) + throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) { switch(nHandle) { diff --git a/connectivity/source/inc/odbc/OResultSet.hxx b/connectivity/source/inc/odbc/OResultSet.hxx index d6ac6f43835c..1f4965a56b45 100644 --- a/connectivity/source/inc/odbc/OResultSet.hxx +++ b/connectivity/source/inc/odbc/OResultSet.hxx @@ -200,7 +200,9 @@ namespace connectivity css::uno::Any & rOldValue, sal_Int32 nHandle, const css::uno::Any& rValue ) - throw (css::lang::IllegalArgumentException) override; + throw (css::lang::IllegalArgumentException, + css::uno::RuntimeException, + std::exception) override; virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& rValue -- cgit