summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-17 09:49:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-17 15:19:53 +0100
commitfc0e506d649481e96b8930f3d9594eefc3323196 (patch)
tree7e4cf8ac4f4385e3f0b233da57d0be545a37ab70 /starmath
parentd4cdaa2ad69fbee6569d82bdcd0d7deb357bb4db (diff)
coverity#1247645 Uncaught exception
Change-Id: Id6596945d51a1b9f8750aa0f46f6a061cb2e80c3
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/unomodel.hxx2
-rw-r--r--starmath/source/unomodel.cxx2
2 files changed, 2 insertions, 2 deletions
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;