summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-26 09:24:56 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-26 09:56:30 +0100
commit1ae7f7fcae2d1c3f1aced2fbb1cf86453722e9a1 (patch)
treebc1ca9cfa360daf7e66301e3058c8aca2e2bc6ee /forms
parent487738732bebce422551d9632d6b1a33bec31da9 (diff)
coverity#1374277 Uncaught exception
Change-Id: I2475056682252111af78a7594c04d15a93fda47f
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/scrollbar.cxx2
-rw-r--r--forms/source/component/scrollbar.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/scrollbar.cxx b/forms/source/component/scrollbar.cxx
index c2a02ddb24f1..1bc7a678bb5c 100644
--- a/forms/source/component/scrollbar.cxx
+++ b/forms/source/component/scrollbar.cxx
@@ -173,7 +173,7 @@ namespace frm
sal_Bool OScrollBarModel::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/scrollbar.hxx b/forms/source/component/scrollbar.hxx
index a228a41eb4ce..838c2974ced0 100644
--- a/forms/source/component/scrollbar.hxx
+++ b/forms/source/component/scrollbar.hxx
@@ -58,7 +58,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;