Add throw specification
This commit is contained in:
parent
025a71d4d7
commit
edce9db570
2 changed files with 15 additions and 9 deletions
|
@ -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);
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: unomodel.cxx,v $
|
||||
*
|
||||
* $Revision: 1.2 $
|
||||
* $Revision: 1.3 $
|
||||
*
|
||||
* last change: $Author: mtg $ $Date: 2001-04-18 15:29:05 $
|
||||
* last change: $Author: mtg $ $Date: 2001-04-24 15:14:00 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -971,6 +971,7 @@ Any SAL_CALL SmModel::getPropertyDefault( const OUString& aPropertyName )
|
|||
}
|
||||
void SmModel::_getPropertyDefault(Any & rValue, SfxObjectShell *pObjShell,
|
||||
const SmFormat &rFormat, const SfxItemPropertyMap *pMap)
|
||||
throw (UnknownPropertyException, WrappedTargetException, RuntimeException)
|
||||
{
|
||||
switch(pMap->nWID)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue