From f96f2adc28b4848918e31ce2267896576fcc80a0 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 26 Oct 2016 09:26:53 +0100 Subject: coverity#1374279 Uncaught exception Change-Id: I5818bb0a2fe64fd808de5ca7f6d8393f92ab55e2 --- forms/source/component/Columns.cxx | 3 ++- forms/source/component/Columns.hxx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'forms') diff --git a/forms/source/component/Columns.cxx b/forms/source/component/Columns.cxx index 154e7dc41045..e87ea44684ab 100644 --- a/forms/source/component/Columns.cxx +++ b/forms/source/component/Columns.cxx @@ -390,7 +390,8 @@ void OGridColumn::getFastPropertyValue(Any& rValue, sal_Int32 nHandle ) const sal_Bool OGridColumn::convertFastPropertyValue( Any& rConvertedValue, Any& rOldValue, - sal_Int32 nHandle, const Any& rValue )throw( IllegalArgumentException ) + sal_Int32 nHandle, const Any& rValue ) + throw( IllegalArgumentException, RuntimeException, std::exception ) { bool bModified(false); switch (nHandle) diff --git a/forms/source/component/Columns.hxx b/forms/source/component/Columns.hxx index 29f35b645c09..014300f5864e 100644 --- a/forms/source/component/Columns.hxx +++ b/forms/source/component/Columns.hxx @@ -93,7 +93,7 @@ public: virtual void SAL_CALL getFastPropertyValue(css::uno::Any& rValue, sal_Int32 nHandle ) const override; virtual sal_Bool SAL_CALL convertFastPropertyValue(css::uno::Any& rConvertedValue, 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) throw (css::uno::Exception, std::exception) override; using OPropertySetAggregationHelper::getFastPropertyValue; -- cgit v1.2.3