summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-26 09:27:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-26 09:56:30 +0100
commit77c3b365c6defcfd0db11489d90cd6d82ecffb62 (patch)
tree9b85210708bf773a13ed2c8535a45dc294a20533 /forms
parentf96f2adc28b4848918e31ce2267896576fcc80a0 (diff)
coverity#1374280 Uncaught exception
Change-Id: I18f7f006256ac7df575d9235e7121b45fbd05370
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/ComboBox.cxx4
-rw-r--r--forms/source/component/ComboBox.hxx2
2 files changed, 2 insertions, 4 deletions
diff --git a/forms/source/component/ComboBox.cxx b/forms/source/component/ComboBox.cxx
index a3b04c7c339b..0173e8a0ce03 100644
--- a/forms/source/component/ComboBox.cxx
+++ b/forms/source/component/ComboBox.cxx
@@ -253,10 +253,9 @@ void OComboBoxModel::setFastPropertyValue_NoBroadcast(sal_Int32 _nHandle, const
}
}
-
sal_Bool OComboBoxModel::convertFastPropertyValue(
Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue)
- throw (IllegalArgumentException)
+ throw (IllegalArgumentException, RuntimeException, std::exception)
{
bool bModified(false);
switch (_nHandle)
@@ -288,7 +287,6 @@ sal_Bool OComboBoxModel::convertFastPropertyValue(
return bModified;
}
-
void OComboBoxModel::describeFixedProperties( Sequence< Property >& _rProps ) const
{
BEGIN_DESCRIBE_PROPERTIES( 6, OBoundControlModel )
diff --git a/forms/source/component/ComboBox.hxx b/forms/source/component/ComboBox.hxx
index 57f05f3f3503..ecc65a21bd57 100644
--- a/forms/source/component/ComboBox.hxx
+++ b/forms/source/component/ComboBox.hxx
@@ -77,7 +77,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, css::uno::RuntimeException, std::exception) override;
// XLoadListener
virtual void SAL_CALL reloaded( const css::lang::EventObject& aEvent ) throw(css::uno::RuntimeException, std::exception) override;