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

coverity#1267689 Uncaught exception

Change-Id: I9286332d74c234007556a7f1d5193197ce547652
üst cc5af14e
......@@ -74,7 +74,8 @@ namespace comphelper
css::beans::PropertyVetoException,
css::lang::IllegalArgumentException,
css::lang::WrappedTargetException,
css::uno::RuntimeException) = 0;
css::uno::RuntimeException,
std::exception) = 0;
virtual void _postSetValues ()
throw (css::beans::UnknownPropertyException,
css::beans::PropertyVetoException,
......
......@@ -152,7 +152,8 @@ protected:
css::beans::PropertyVetoException,
css::lang::IllegalArgumentException,
css::lang::WrappedTargetException,
css::uno::RuntimeException) SAL_OVERRIDE;
css::uno::RuntimeException,
std::exception) SAL_OVERRIDE;
virtual void _postSetValues()
throw (css::beans::UnknownPropertyException,
css::beans::PropertyVetoException,
......
......@@ -299,7 +299,8 @@ void SwXPrintSettings::_preSetValues ()
}
void SwXPrintSettings::_setSingleValue( const comphelper::PropertyInfo & rInfo, const uno::Any &rValue )
throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException )
throw (UnknownPropertyException, PropertyVetoException,
IllegalArgumentException, WrappedTargetException)
{
bool bVal;
if ( rInfo.mnHandle != HANDLE_PRINTSET_ANNOTATION_MODE &&
......@@ -606,7 +607,7 @@ void SwXViewSettings::_preSetValues ()
void SwXViewSettings::_setSingleValue( const comphelper::PropertyInfo & rInfo, const uno::Any &rValue )
throw (UnknownPropertyException, PropertyVetoException,
IllegalArgumentException, WrappedTargetException,
RuntimeException)
RuntimeException, std::exception)
{
bool bVal = HANDLE_VIEWSET_ZOOM != rInfo.mnHandle && *(sal_Bool*)rValue.getValue();
// the API flag should not be set to the application's view settings
......
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