From 1ae7f7fcae2d1c3f1aced2fbb1cf86453722e9a1 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 26 Oct 2016 09:24:56 +0100 Subject: coverity#1374277 Uncaught exception Change-Id: I2475056682252111af78a7594c04d15a93fda47f --- forms/source/component/scrollbar.cxx | 2 +- forms/source/component/scrollbar.hxx | 2 +- 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; -- cgit