Kaydet (Commit) f3ba1de5 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#983965 Uncaught exception

Change-Id: I79a505eb9fbc7be6e70bd1098d47a6e8be1e04ed
üst 652eb268
...@@ -137,7 +137,11 @@ protected: ...@@ -137,7 +137,11 @@ protected:
bool mbApplyVRulerMetric; bool mbApplyVRulerMetric;
virtual void _preSetValues () virtual void _preSetValues ()
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 _setSingleValue( const comphelper::PropertyInfo & rInfo, const ::com::sun::star::uno::Any &rValue ) 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(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE;
virtual void _postSetValues () virtual void _postSetValues ()
......
...@@ -581,7 +581,9 @@ SwXViewSettings::~SwXViewSettings() ...@@ -581,7 +581,9 @@ SwXViewSettings::~SwXViewSettings()
} }
void SwXViewSettings::_preSetValues () void SwXViewSettings::_preSetValues ()
throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) throw (UnknownPropertyException, PropertyVetoException,
IllegalArgumentException, WrappedTargetException,
RuntimeException)
{ {
const SwViewOption* pVOpt = 0; const SwViewOption* pVOpt = 0;
if(pView) if(pView)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment