From fc0e506d649481e96b8930f3d9594eefc3323196 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 17 Oct 2014 09:49:05 +0100 Subject: coverity#1247645 Uncaught exception Change-Id: Id6596945d51a1b9f8750aa0f46f6a061cb2e80c3 --- starmath/inc/unomodel.hxx | 2 +- starmath/source/unomodel.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'starmath') diff --git a/starmath/inc/unomodel.hxx b/starmath/inc/unomodel.hxx index 02c35adff238..b7edb38b0d93 100644 --- a/starmath/inc/unomodel.hxx +++ b/starmath/inc/unomodel.hxx @@ -59,7 +59,7 @@ class SmModel : public SfxBaseModel, SmPrintUIOptions* m_pPrintUIOptions; protected: virtual void _setPropertyValues( const comphelper::PropertyMapEntry** ppEntries, const ::com::sun::star::uno::Any* pValues ) - throw( css::uno::RuntimeException, ::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE; + throw (css::uno::RuntimeException, css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, std::exception) SAL_OVERRIDE; virtual void _getPropertyValues( const comphelper::PropertyMapEntry** ppEntries, ::com::sun::star::uno::Any* pValue ) throw (css::uno::RuntimeException, css::beans::UnknownPropertyException, css::lang::WrappedTargetException, std::exception) SAL_OVERRIDE; public: diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index 3b93bd296624..591c1f291b08 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -433,7 +433,7 @@ uno::Sequence< OUString > SmModel::getSupportedServiceNames_Static(void) } void SmModel::_setPropertyValues(const PropertyMapEntry** ppEntries, const Any* pValues) - throw( RuntimeException, UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException) + throw (RuntimeException, UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException, std::exception) { SolarMutexGuard aGuard; -- cgit v1.2.3