summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-26 09:22:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-26 09:56:30 +0100
commitadf3ec20325a9082a1bf83a5a7610929716abfeb (patch)
treeeb3d631f6dad2aae4c08440481e6682491a3b30f /forms
parent0aa597d06310fab4672698ba42218de6a28a554f (diff)
coverity#1374274 Uncaught exception
Change-Id: I9e3cee79dfdc06c751d1e5b3d0806c49a7e30da7
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/ImageControl.cxx2
-rw-r--r--forms/source/component/ImageControl.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/ImageControl.cxx b/forms/source/component/ImageControl.cxx
index b5022a8548c9..465b85918500 100644
--- a/forms/source/component/ImageControl.cxx
+++ b/forms/source/component/ImageControl.cxx
@@ -301,7 +301,7 @@ void OImageControlModel::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, con
sal_Bool OImageControlModel::convertFastPropertyValue(Any& rConvertedValue, Any& rOldValue, sal_Int32 nHandle, const Any& rValue)
- throw( IllegalArgumentException )
+ throw( IllegalArgumentException, RuntimeException, std::exception )
{
switch (nHandle)
{
diff --git a/forms/source/component/ImageControl.hxx b/forms/source/component/ImageControl.hxx
index e7bc6bbfd987..0a8da10c194d 100644
--- a/forms/source/component/ImageControl.hxx
+++ b/forms/source/component/ImageControl.hxx
@@ -68,7 +68,7 @@ public:
virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any& rValue) throw ( css::uno::Exception, std::exception) 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;
// UNO Anbindung
DECLARE_UNO3_AGG_DEFAULTS(OImageControlModel, OBoundControlModel)