From 6920de0e1f525eadb61114f0e5bb1bb282d17572 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 26 Oct 2016 09:08:58 +0100 Subject: coverity#1374268 Uncaught exception Change-Id: Ife6e9897c12a9754afd5f4754c7de41eef7f00eb --- dbaccess/source/core/api/statement.cxx | 2 +- dbaccess/source/core/inc/statement.hxx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'dbaccess') diff --git a/dbaccess/source/core/api/statement.cxx b/dbaccess/source/core/api/statement.cxx index 44c96f289a4d..beb04efa4449 100644 --- a/dbaccess/source/core/api/statement.cxx +++ b/dbaccess/source/core/api/statement.cxx @@ -198,7 +198,7 @@ Reference< XPropertySetInfo > OStatementBase::getPropertySetInfo() throw (Runtim return *getArrayHelper(); } -sal_Bool OStatementBase::convertFastPropertyValue( Any & rConvertedValue, Any & rOldValue, sal_Int32 nHandle, const Any& rValue ) throw( IllegalArgumentException ) +sal_Bool OStatementBase::convertFastPropertyValue(Any & rConvertedValue, Any & rOldValue, sal_Int32 nHandle, const Any& rValue ) throw( IllegalArgumentException, RuntimeException, std::exception) { bool bModified(false); switch (nHandle) diff --git a/dbaccess/source/core/inc/statement.hxx b/dbaccess/source/core/inc/statement.hxx index a2cb99a393db..7d7b7f09ed68 100644 --- a/dbaccess/source/core/inc/statement.hxx +++ b/dbaccess/source/core/inc/statement.hxx @@ -91,7 +91,9 @@ public: 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