diff options
-rw-r--r-- | sw/source/uibase/inc/unomod.hxx | 7 | ||||
-rw-r--r-- | sw/source/uibase/uno/unomod.cxx | 8 |
2 files changed, 11 insertions, 4 deletions
diff --git a/sw/source/uibase/inc/unomod.hxx b/sw/source/uibase/inc/unomod.hxx index 4f8b317e3bfc..839816a9651b 100644 --- a/sw/source/uibase/inc/unomod.hxx +++ b/sw/source/uibase/inc/unomod.hxx @@ -101,7 +101,12 @@ protected: css::uno::RuntimeException) SAL_OVERRIDE; virtual void _preGetValues () - 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 _getSingleValue( const comphelper::PropertyInfo & rInfo, ::com::sun::star::uno::Any & rValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE; virtual void _postGetValues () diff --git a/sw/source/uibase/uno/unomod.cxx b/sw/source/uibase/uno/unomod.cxx index e6e0bca7e3a2..4ebd2dd16bcb 100644 --- a/sw/source/uibase/uno/unomod.cxx +++ b/sw/source/uibase/uno/unomod.cxx @@ -429,7 +429,7 @@ void SwXPrintSettings::_setSingleValue( const comphelper::PropertyInfo & rInfo, } } -void SwXPrintSettings::_postSetValues () +void SwXPrintSettings::_postSetValues() throw (UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException) @@ -437,8 +437,10 @@ void SwXPrintSettings::_postSetValues () mpPrtOpt = NULL; } -void SwXPrintSettings::_preGetValues () - throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) +void SwXPrintSettings::_preGetValues() + throw (UnknownPropertyException, PropertyVetoException, + IllegalArgumentException, WrappedTargetException, + RuntimeException) { switch (meType) { |