From ea98e70e916372a2cb1a3504c74c9d1ab4020dcc Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 19 Jun 2014 10:06:03 +0100 Subject: coverity#983931 Uncaught exception Change-Id: I9fef42b9a6540a549d6a28928b982671f07f9fe6 --- svx/source/unogallery/unogalitem.cxx | 7 +++---- svx/source/unogallery/unogalitem.hxx | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'svx') diff --git a/svx/source/unogallery/unogalitem.cxx b/svx/source/unogallery/unogalitem.cxx index cbffcd4688fb..f469953d5a32 100644 --- a/svx/source/unogallery/unogalitem.cxx +++ b/svx/source/unogallery/unogalitem.cxx @@ -250,13 +250,12 @@ sal_Int8 SAL_CALL GalleryItem::getType() return pRet; } - - void GalleryItem::_setPropertyValues( const comphelper::PropertyMapEntry** ppEntries, const uno::Any* pValues ) - throw( beans::UnknownPropertyException, + throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, - lang::WrappedTargetException ) + lang::WrappedTargetException, + uno::RuntimeException) { const SolarMutexGuard aGuard; diff --git a/svx/source/unogallery/unogalitem.hxx b/svx/source/unogallery/unogalitem.hxx index 6449cc4fd608..7f60ad842acd 100644 --- a/svx/source/unogallery/unogalitem.hxx +++ b/svx/source/unogallery/unogalitem.hxx @@ -76,7 +76,7 @@ protected: virtual ::sal_Int8 SAL_CALL getType( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // PropertySetHelper - virtual void _setPropertyValues( const comphelper::PropertyMapEntry** ppEntries, const ::com::sun::star::uno::Any* pValues ) 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 _setPropertyValues( const comphelper::PropertyMapEntry** ppEntries, const ::com::sun::star::uno::Any* pValues ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, css::uno::RuntimeException ) SAL_OVERRIDE; virtual void _getPropertyValues( const comphelper::PropertyMapEntry** ppEntries, ::com::sun::star::uno::Any* pValue ) throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, -- cgit v1.2.3