diff options
author | Martin Gallwey <mtg@openoffice.org> | 2001-04-24 14:14:09 +0000 |
---|---|---|
committer | Martin Gallwey <mtg@openoffice.org> | 2001-04-24 14:14:09 +0000 |
commit | edce9db57028b9e367c630b416fa44ccdd990bce (patch) | |
tree | 2c1a11cfb2a8d53e08885fa8a413c6c61689d20d /starmath/inc/unomodel.hxx | |
parent | 025a71d4d73dc4844524846bc34b34c669dd1b77 (diff) |
Add throw specification
Diffstat (limited to 'starmath/inc/unomodel.hxx')
-rw-r--r-- | starmath/inc/unomodel.hxx | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/starmath/inc/unomodel.hxx b/starmath/inc/unomodel.hxx index f04b119821e7..22b7d3ac20b6 100644 --- a/starmath/inc/unomodel.hxx +++ b/starmath/inc/unomodel.hxx @@ -2,9 +2,9 @@ * * $RCSfile: unomodel.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: mtg $ $Date: 2001-04-18 15:27:41 $ + * last change: $Author: mtg $ $Date: 2001-04-24 15:14:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -103,11 +103,14 @@ class SmModel : public SmModelBaseClass, SfxItemPropertyMap* _pMap; void SAL_CALL _setPropertyValue ( const ::com::sun::star::uno::Any& aValue, - SfxObjectShell* pObjShell, SmFormat &aFormat, const SfxItemPropertyMap* pMap); + SfxObjectShell* pObjShell, SmFormat &aFormat, const SfxItemPropertyMap* pMap) + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); void SAL_CALL _getPropertyValue ( ::com::sun::star::uno::Any& rValue, - SfxObjectShell * pObjShell, const SmFormat &aFormat, const SfxItemPropertyMap *pMap ); + SfxObjectShell * pObjShell, const SmFormat &aFormat, const SfxItemPropertyMap *pMap ) + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); void SAL_CALL _getPropertyDefault ( ::com::sun::star::uno::Any& rValue, - SfxObjectShell * pObjShell, const SmFormat &aFormat, const SfxItemPropertyMap *pMap ); + SfxObjectShell * pObjShell, const SmFormat &aFormat, const SfxItemPropertyMap *pMap ) + throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); public: SmModel( SfxObjectShell *pObjSh = 0 ); @@ -130,8 +133,10 @@ public: //XPropertySet virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); |