summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-27 09:31:12 +0200
committerNoel Grandin <noel@peralex.com>2014-05-27 10:50:03 +0200
commit2d5d98e12d15cb9f455d0333ff67f1538fdc706f (patch)
tree8015c4ad311164e2eba9a29a9b7c6839471a5a8d /starmath
parentdab10217ee81eb956195a37dd4e6a9bbd6c88b58 (diff)
cid#707199 Uncaught exception
Change-Id: I4ff6cdf0f7d48318a948865784c66f992fe52e3d
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 d9b95025b5b0..b923ae73f552 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(::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, ::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;
public:
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index 26ac82511b99..9d4d1fe946b6 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( UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException)
+ throw( RuntimeException, UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException)
{
SolarMutexGuard aGuard;