summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-26 09:21:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-26 09:56:30 +0100
commit0aa597d06310fab4672698ba42218de6a28a554f (patch)
tree7f253a8d56198e24a3fd348fa8a79e3ff747c5bf
parent0b069a35d338d3492ffcc1830cdee32f508cd81e (diff)
coverity#1374273 Uncaught exception
Change-Id: Ia2738aeb9d1092dd0738801022c5a729b9081f26
-rw-r--r--forms/source/component/Grid.cxx4
-rw-r--r--forms/source/component/Grid.hxx2
2 files changed, 4 insertions, 2 deletions
diff --git a/forms/source/component/Grid.cxx b/forms/source/component/Grid.cxx
index 22c772a4b05d..8d11fb5d5167 100644
--- a/forms/source/component/Grid.cxx
+++ b/forms/source/component/Grid.cxx
@@ -488,8 +488,10 @@ void OGridControlModel::getFastPropertyValue(Any& rValue, sal_Int32 nHandle ) co
OControlModel::getFastPropertyValue( rValue, nHandle );
}
}
+
sal_Bool OGridControlModel::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/Grid.hxx b/forms/source/component/Grid.hxx
index a755350ec7c6..1a07ed0a0d52 100644
--- a/forms/source/component/Grid.hxx
+++ b/forms/source/component/Grid.hxx
@@ -147,7 +147,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;
// XPropertyState