coverity#707350 Uncaught exception
Change-Id: Ic338659d34c91baad715c2181f420d919acf1fe9
This commit is contained in:
@@ -69,8 +69,12 @@ namespace comphelper
|
|||||||
css::lang::IllegalArgumentException,
|
css::lang::IllegalArgumentException,
|
||||||
css::lang::WrappedTargetException,
|
css::lang::WrappedTargetException,
|
||||||
css::uno::RuntimeException) = 0;
|
css::uno::RuntimeException) = 0;
|
||||||
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 ) = 0;
|
throw (css::beans::UnknownPropertyException,
|
||||||
|
css::beans::PropertyVetoException,
|
||||||
|
css::lang::IllegalArgumentException,
|
||||||
|
css::lang::WrappedTargetException,
|
||||||
|
css::uno::RuntimeException) = 0;
|
||||||
virtual void _postSetValues ()
|
virtual void _postSetValues ()
|
||||||
throw (css::beans::UnknownPropertyException,
|
throw (css::beans::UnknownPropertyException,
|
||||||
css::beans::PropertyVetoException,
|
css::beans::PropertyVetoException,
|
||||||
|
@@ -143,7 +143,11 @@ protected:
|
|||||||
css::lang::WrappedTargetException,
|
css::lang::WrappedTargetException,
|
||||||
css::uno::RuntimeException) SAL_OVERRIDE;
|
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 (css::beans::UnknownPropertyException,
|
||||||
|
css::beans::PropertyVetoException,
|
||||||
|
css::lang::IllegalArgumentException,
|
||||||
|
css::lang::WrappedTargetException,
|
||||||
|
css::uno::RuntimeException) SAL_OVERRIDE;
|
||||||
virtual void _postSetValues()
|
virtual void _postSetValues()
|
||||||
throw (css::beans::UnknownPropertyException,
|
throw (css::beans::UnknownPropertyException,
|
||||||
css::beans::PropertyVetoException,
|
css::beans::PropertyVetoException,
|
||||||
|
@@ -603,7 +603,9 @@ void SwXViewSettings::_preSetValues ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void SwXViewSettings::_setSingleValue( const comphelper::PropertyInfo & rInfo, const uno::Any &rValue )
|
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 ?
|
bool bVal = HANDLE_VIEWSET_ZOOM != rInfo.mnHandle ?
|
||||||
*(sal_Bool*)rValue.getValue() : sal_False;
|
*(sal_Bool*)rValue.getValue() : sal_False;
|
||||||
|
Reference in New Issue
Block a user