summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-26 09:26:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-26 09:56:30 +0100
commitf96f2adc28b4848918e31ce2267896576fcc80a0 (patch)
treecc6235b061f0d2186d22753e4831a88e43f9d57d /forms
parentb1de670d6a39db535b945cbc04718a44bfd3cf19 (diff)
coverity#1374279 Uncaught exception
Change-Id: I5818bb0a2fe64fd808de5ca7f6d8393f92ab55e2
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/Columns.cxx3
-rw-r--r--forms/source/component/Columns.hxx2
2 files changed, 3 insertions, 2 deletions
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;