diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-03 20:21:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-04 09:38:12 +0100 |
commit | 59198069d280723f618a101db0c0d8cd38f42f24 (patch) | |
tree | ddef3c372c499316edb63c51da1a4a5ee99bef13 /svx | |
parent | a7e6f6d17117482d699b2d230841997156828e1a (diff) |
coverity#738052 Uncaught exception
Change-Id: If6767fdc7a3e462cbd88dcc879857676037e80ef
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unogallery/unogalitem.cxx | 7 | ||||
-rw-r--r-- | svx/source/unogallery/unogalitem.hxx | 5 |
2 files changed, 7 insertions, 5 deletions
diff --git a/svx/source/unogallery/unogalitem.cxx b/svx/source/unogallery/unogalitem.cxx index 1443bba72e97..81d2f7560ec5 100644 --- a/svx/source/unogallery/unogalitem.cxx +++ b/svx/source/unogallery/unogalitem.cxx @@ -297,11 +297,10 @@ void GalleryItem::_setPropertyValues( const comphelper::PropertyMapEntry** ppEnt } } - - void GalleryItem::_getPropertyValues( const comphelper::PropertyMapEntry** ppEntries, uno::Any* pValue ) - throw( beans::UnknownPropertyException, - lang::WrappedTargetException ) + throw (beans::UnknownPropertyException, + lang::WrappedTargetException, + css::uno::RuntimeException) { const SolarMutexGuard aGuard; diff --git a/svx/source/unogallery/unogalitem.hxx b/svx/source/unogallery/unogalitem.hxx index 2a86ed350ff5..81ac48dec352 100644 --- a/svx/source/unogallery/unogalitem.hxx +++ b/svx/source/unogallery/unogalitem.hxx @@ -77,7 +77,10 @@ protected: // 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 _getPropertyValues( const comphelper::PropertyMapEntry** ppEntries, ::com::sun::star::uno::Any* pValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE; + virtual void _getPropertyValues( const comphelper::PropertyMapEntry** ppEntries, ::com::sun::star::uno::Any* pValue ) + throw (css::beans::UnknownPropertyException, + css::lang::WrappedTargetException, + css::uno::RuntimeException) SAL_OVERRIDE; protected: |