diff options
Diffstat (limited to 'svl/inc/svl/itemprop.hxx')
-rw-r--r-- | svl/inc/svl/itemprop.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/svl/inc/svl/itemprop.hxx b/svl/inc/svl/itemprop.hxx index e494277c3824..636fe4ea3c5c 100644 --- a/svl/inc/svl/itemprop.hxx +++ b/svl/inc/svl/itemprop.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -66,13 +66,13 @@ struct SfxItemPropertySimpleEntry nFlags( 0 ), nMemberId( 0 ){} - SfxItemPropertySimpleEntry(USHORT _nWID, const com::sun::star::uno::Type* _pType, + SfxItemPropertySimpleEntry(USHORT _nWID, const com::sun::star::uno::Type* _pType, long _nFlags, BYTE _nMemberId) : nWID( _nWID ), pType( _pType ), nFlags( _nFlags ), nMemberId( _nMemberId ){} - + SfxItemPropertySimpleEntry( const SfxItemPropertyMapEntry* pMapEntry ) : nWID( pMapEntry->nWID ), pType( pMapEntry->pType ), @@ -87,20 +87,20 @@ struct SfxItemPropertyNamedEntry : public SfxItemPropertySimpleEntry SfxItemPropertySimpleEntry( rSimpleEntry ), sName( rName ){} -}; +}; typedef std::vector< SfxItemPropertyNamedEntry > PropertyEntryVector_t; class SfxItemPropertyMap_Impl; class SVL_DLLPUBLIC SfxItemPropertyMap { SfxItemPropertyMap_Impl* m_pImpl; -public: +public: SfxItemPropertyMap( const SfxItemPropertyMapEntry* pEntries ); SfxItemPropertyMap( const SfxItemPropertyMap* pSource ); ~SfxItemPropertyMap(); - + const SfxItemPropertySimpleEntry* getByName( const ::rtl::OUString &rName ) const; com::sun::star::uno::Sequence< com::sun::star::beans::Property > getProperties() const; - com::sun::star::beans::Property getPropertyByName( const ::rtl::OUString rName ) const + com::sun::star::beans::Property getPropertyByName( const ::rtl::OUString rName ) const throw( ::com::sun::star::beans::UnknownPropertyException ); sal_Bool hasPropertyByName( const ::rtl::OUString& rName ) const; @@ -108,7 +108,7 @@ public: PropertyEntryVector_t getPropertyEntries() const; sal_uInt32 getSize() const; -}; +}; /* -----------------------------21.02.00 11:19-------------------------------- ---------------------------------------------------------------------------*/ @@ -117,7 +117,7 @@ class SVL_DLLPUBLIC SfxItemPropertySet SfxItemPropertyMap m_aMap; mutable com::sun::star::uno::Reference<com::sun::star::beans::XPropertySetInfo> m_xInfo; protected: - virtual BOOL FillItem(SfxItemSet& rSet, USHORT nWhich, BOOL bGetProperty) const; + virtual BOOL FillItem(SfxItemSet& rSet, USHORT nWhich, BOOL bGetProperty) const; public: SfxItemPropertySet( const SfxItemPropertyMapEntry *pMap ) : @@ -143,7 +143,7 @@ public: SfxItemSet& rSet ) const throw(::com::sun::star::uno::RuntimeException, com::sun::star::lang::IllegalArgumentException); - void setPropertyValue( const ::rtl::OUString& rPropertyName, + void setPropertyValue( const ::rtl::OUString& rPropertyName, const com::sun::star::uno::Any& aVal, SfxItemSet& rSet ) const throw(::com::sun::star::uno::RuntimeException, |