summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-17 09:45:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-17 15:19:51 +0100
commite04f6bc2e6b564d9580d62c631c012685a7f9f8f (patch)
tree98d9902f482ca58122756312cd665a19e9e6d45a /starmath
parent8ba198465a7629d815c25d0ee9bf3cc30ceb2767 (diff)
coverity#1247642 Uncaught exception
Change-Id: Ic7ffc47fd84f89029c140d68601971a5a2d58d0a
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 5bb952f29d53..02c35adff238 100644
--- a/starmath/inc/unomodel.hxx
+++ b/starmath/inc/unomodel.hxx
@@ -61,7 +61,7 @@ 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;
virtual void _getPropertyValues( const comphelper::PropertyMapEntry** ppEntries, ::com::sun::star::uno::Any* pValue )
- throw( css::uno::RuntimeException, ::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE;
+ throw (css::uno::RuntimeException, css::beans::UnknownPropertyException, css::lang::WrappedTargetException, std::exception) SAL_OVERRIDE;
public:
SmModel( SfxObjectShell *pObjSh = 0 );
virtual ~SmModel() throw ();
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index 7f479fc2bebe..3b93bd296624 100644
--- a/starmath/source/unomodel.cxx
+++ b/starmath/source/unomodel.cxx
@@ -718,7 +718,7 @@ void SmModel::_setPropertyValues(const PropertyMapEntry** ppEntries, const Any*
}
void SmModel::_getPropertyValues( const PropertyMapEntry **ppEntries, Any *pValue )
- throw( RuntimeException, UnknownPropertyException, WrappedTargetException )
+ throw (RuntimeException, UnknownPropertyException, WrappedTargetException, std::exception)
{
SmDocShell *pDocSh = static_cast < SmDocShell * > (GetObjectShell());