summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-24 12:59:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-24 13:03:51 +0100
commit96e6f65907e68d72d61acf6777d5f615c27ed696 (patch)
treee8902c4f09dee0edb37c635a9c0b8857c22726d4
parentf3ba1de5e55e56113050752ef0676cdb880f417e (diff)
coverity#983964 Uncaught exception
Change-Id: Ieb298e45512ab4c0384ea2d7ef6adcc4adc39923
-rw-r--r--include/comphelper/ChainablePropertySet.hxx6
-rw-r--r--sw/source/core/uibase/inc/unomod.hxx6
-rw-r--r--sw/source/core/uibase/uno/unomod.cxx4
3 files changed, 13 insertions, 3 deletions
diff --git a/include/comphelper/ChainablePropertySet.hxx b/include/comphelper/ChainablePropertySet.hxx
index 2d28c08649bb..127abccb6f20 100644
--- a/include/comphelper/ChainablePropertySet.hxx
+++ b/include/comphelper/ChainablePropertySet.hxx
@@ -79,7 +79,11 @@ namespace comphelper
css::uno::RuntimeException) = 0;
virtual void _preGetValues ()
- 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 _getSingleValue( const comphelper::PropertyInfo & rInfo, ::com::sun::star::uno::Any & rValue )
throw (css::beans::UnknownPropertyException,
css::lang::WrappedTargetException,
diff --git a/sw/source/core/uibase/inc/unomod.hxx b/sw/source/core/uibase/inc/unomod.hxx
index 30ac56e5bd09..27ef4ed903c6 100644
--- a/sw/source/core/uibase/inc/unomod.hxx
+++ b/sw/source/core/uibase/inc/unomod.hxx
@@ -148,7 +148,11 @@ protected:
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 _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 (css::beans::UnknownPropertyException,
css::lang::WrappedTargetException,
diff --git a/sw/source/core/uibase/uno/unomod.cxx b/sw/source/core/uibase/uno/unomod.cxx
index be853669734a..b6370737f405 100644
--- a/sw/source/core/uibase/uno/unomod.cxx
+++ b/sw/source/core/uibase/uno/unomod.cxx
@@ -816,7 +816,9 @@ void SwXViewSettings::_postSetValues ()
}
void SwXViewSettings::_preGetValues ()
- throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException )
+ throw (UnknownPropertyException, PropertyVetoException,
+ IllegalArgumentException, WrappedTargetException,
+ RuntimeException)
{
if(pView)
{