summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-01 10:25:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-01 10:56:15 +0100
commit612ab9b4f7f0d9aeb43524f2cebed11b752bf061 (patch)
tree9e786bc64a46cee630983f6bb48e2f71b7a63e11 /sw
parent95dca00a9147f986d357e127b575ac568034dee7 (diff)
coverity#983968 Uncaught exception
Change-Id: I0f5d8a72e545337525a90d86aa2fb87a180f4e63
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/inc/unomod.hxx7
-rw-r--r--sw/source/uibase/uno/unomod.cxx8
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)
{