diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-27 09:33:02 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-27 10:50:03 +0200 |
commit | 9fb54d62b13b50e6a270a70183a86a0d8f6cdbfa (patch) | |
tree | 30701f011694dc37ca15d7d8bf927562be177250 /starmath | |
parent | 2d5d98e12d15cb9f455d0333ff67f1538fdc706f (diff) |
cid#707198 Uncaught exception
Change-Id: Ibfe57b366207550b0f3c0e9cb7e8da1078531742
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/unomodel.hxx | 2 | ||||
-rw-r--r-- | starmath/source/unomodel.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/starmath/inc/unomodel.hxx b/starmath/inc/unomodel.hxx index b923ae73f552..5bb952f29d53 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(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE; + throw( css::uno::RuntimeException, ::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE; public: SmModel( SfxObjectShell *pObjSh = 0 ); virtual ~SmModel() throw (); diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index 9d4d1fe946b6..330ce3c29577 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( UnknownPropertyException, WrappedTargetException ) + throw( RuntimeException, UnknownPropertyException, WrappedTargetException ) { SmDocShell *pDocSh = static_cast < SmDocShell * > (GetObjectShell()); |