summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-31 21:38:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-09-01 10:40:14 +0100
commita6bc2ace5fd7b7c4dc2058c16dc0b94b0561edcd (patch)
tree5e06d85327bab2abf0b3c0f405db6a0b1393706d /forms
parent50caee009b82fcae7f851e3a1b21ecc3e47a82de (diff)
coverity#1372386 Uncaught exception
Change-Id: Ic1fd5486e6b26718086d2f062459f11c00f244d2
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/FormComponent.cxx4
-rw-r--r--forms/source/component/ListBox.cxx2
-rw-r--r--forms/source/component/ListBox.hxx2
-rw-r--r--forms/source/inc/FormComponent.hxx4
4 files changed, 6 insertions, 6 deletions
diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx
index 431501c6067e..9ff9a58f0412 100644
--- a/forms/source/component/FormComponent.cxx
+++ b/forms/source/component/FormComponent.cxx
@@ -937,7 +937,7 @@ void OControlModel::getFastPropertyValue( Any& _rValue, sal_Int32 _nHandle ) con
sal_Bool OControlModel::convertFastPropertyValue(
Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue)
- throw (css::lang::IllegalArgumentException)
+ throw (css::lang::IllegalArgumentException, std::exception)
{
bool bModified(false);
switch (_nHandle)
@@ -1642,7 +1642,7 @@ sal_Bool OBoundControlModel::convertFastPropertyValue(
Any& _rConvertedValue, Any& _rOldValue,
sal_Int32 _nHandle,
const Any& _rValue)
- throw (css::lang::IllegalArgumentException)
+ throw (css::lang::IllegalArgumentException, std::exception)
{
bool bModified(false);
switch (_nHandle)
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx
index 006a2bec2143..9d54a9b501c7 100644
--- a/forms/source/component/ListBox.cxx
+++ b/forms/source/component/ListBox.cxx
@@ -390,7 +390,7 @@ namespace frm
sal_Bool OListBoxModel::convertFastPropertyValue(
Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue)
- throw (IllegalArgumentException)
+ throw (IllegalArgumentException, std::exception)
{
bool bModified(false);
switch (_nHandle)
diff --git a/forms/source/component/ListBox.hxx b/forms/source/component/ListBox.hxx
index 702332eaef37..b1e32e2550e9 100644
--- a/forms/source/component/ListBox.hxx
+++ b/forms/source/component/ListBox.hxx
@@ -146,7 +146,7 @@ public:
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, std::exception) override;
protected:
static const ::connectivity::ORowSetValue s_aEmptyValue;
diff --git a/forms/source/inc/FormComponent.hxx b/forms/source/inc/FormComponent.hxx
index da3bb20a575e..1b7c08d488a1 100644
--- a/forms/source/inc/FormComponent.hxx
+++ b/forms/source/inc/FormComponent.hxx
@@ -425,7 +425,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, 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 ::cppu::OPropertySetHelper::getFastPropertyValue;
@@ -1002,7 +1002,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, 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 ::cppu::OPropertySetHelper::getFastPropertyValue;