summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-26 09:28:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-26 09:56:30 +0100
commitb23e979157a1f690b84d110e082af3a01f102d55 (patch)
treee3d8974b9d61c79186b72edc8c265fb4bac3fbf1 /forms
parent77c3b365c6defcfd0db11489d90cd6d82ecffb62 (diff)
coverity#1374281 Uncaught exception
Change-Id: Iaffb4b67c67b5877a5a53d9ae81927b28883fc56
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/spinbutton.cxx2
-rw-r--r--forms/source/component/spinbutton.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/spinbutton.cxx b/forms/source/component/spinbutton.cxx
index a2b551d73711..02fedc312ac2 100644
--- a/forms/source/component/spinbutton.cxx
+++ b/forms/source/component/spinbutton.cxx
@@ -127,7 +127,7 @@ namespace frm
sal_Bool OSpinButtonModel::convertFastPropertyValue(
Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue )
- throw ( IllegalArgumentException )
+ throw ( IllegalArgumentException, RuntimeException, std::exception )
{
bool bModified( false );
switch ( _nHandle )
diff --git a/forms/source/component/spinbutton.hxx b/forms/source/component/spinbutton.hxx
index a93f7326c5f4..e680d2c03160 100644
--- a/forms/source/component/spinbutton.hxx
+++ b/forms/source/component/spinbutton.hxx
@@ -59,7 +59,7 @@ namespace frm
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;
// OBoundControlModel
virtual css::uno::Any translateDbColumnToControlValue( ) override;