diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-10 15:15:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-10 16:08:05 +0100 |
commit | 31778e3eebf8294c1a5f444f21612078fb45c93c (patch) | |
tree | d31e3e5825d2490bca3ad7167059d596d3009521 /sw/source/uibase | |
parent | coverity#983682 Uncaught exception (diff) | |
download | core-31778e3eebf8294c1a5f444f21612078fb45c93c.tar.gz core-31778e3eebf8294c1a5f444f21612078fb45c93c.zip |
coverity#707350 Uncaught exception
Change-Id: Ic338659d34c91baad715c2181f420d919acf1fe9
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/inc/unomod.hxx | 6 | ||||
-rw-r--r-- | sw/source/uibase/uno/unomod.cxx | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/unomod.hxx b/sw/source/uibase/inc/unomod.hxx index 064291ce6b7a..4f8b317e3bfc 100644 --- a/sw/source/uibase/inc/unomod.hxx +++ b/sw/source/uibase/inc/unomod.hxx @@ -143,7 +143,11 @@ protected: css::lang::WrappedTargetException, css::uno::RuntimeException) SAL_OVERRIDE; virtual void _setSingleValue( const comphelper::PropertyInfo & rInfo, const ::com::sun::star::uno::Any &rValue ) - throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE; + throw (css::beans::UnknownPropertyException, + css::beans::PropertyVetoException, + css::lang::IllegalArgumentException, + css::lang::WrappedTargetException, + css::uno::RuntimeException) SAL_OVERRIDE; virtual void _postSetValues() throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, diff --git a/sw/source/uibase/uno/unomod.cxx b/sw/source/uibase/uno/unomod.cxx index 0153a60f4743..ea4b619eb633 100644 --- a/sw/source/uibase/uno/unomod.cxx +++ b/sw/source/uibase/uno/unomod.cxx @@ -603,7 +603,9 @@ void SwXViewSettings::_preSetValues () } void SwXViewSettings::_setSingleValue( const comphelper::PropertyInfo & rInfo, const uno::Any &rValue ) - throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) + throw (UnknownPropertyException, PropertyVetoException, + IllegalArgumentException, WrappedTargetException, + RuntimeException) { bool bVal = HANDLE_VIEWSET_ZOOM != rInfo.mnHandle ? *(sal_Bool*)rValue.getValue() : sal_False; |