diff options
-rw-r--r-- | include/comphelper/ChainablePropertySet.hxx | 8 | ||||
-rw-r--r-- | sw/source/uibase/inc/unomod.hxx | 6 | ||||
-rw-r--r-- | sw/source/uibase/uno/unomod.cxx | 4 |
3 files changed, 14 insertions, 4 deletions
diff --git a/include/comphelper/ChainablePropertySet.hxx b/include/comphelper/ChainablePropertySet.hxx index 127abccb6f20..ecd3a02dcd1b 100644 --- a/include/comphelper/ChainablePropertySet.hxx +++ b/include/comphelper/ChainablePropertySet.hxx @@ -69,8 +69,12 @@ namespace comphelper css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) = 0; - 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 ) = 0; + virtual void _setSingleValue(const comphelper::PropertyInfo & rInfo, const ::com::sun::star::uno::Any &rValue) + throw (css::beans::UnknownPropertyException, + css::beans::PropertyVetoException, + css::lang::IllegalArgumentException, + css::lang::WrappedTargetException, + css::uno::RuntimeException) = 0; virtual void _postSetValues () throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, 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; |