diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-06-13 08:28:38 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-06-13 08:28:38 +0000 |
commit | 84e312f788ccc786371608f1b55f891d2e73498a (patch) | |
tree | 5058ac0a745f73eced8cc128124e2cbc505dd047 /sw/inc/paratr.hxx | |
parent | 5c609e6c57c3c23252a968bef804a79097b0bb4b (diff) |
INTEGRATION: CWS swlists01 (1.14.690); FILE MERGED
2008/05/14 12:41:51 od 1.14.690.3: #i86732# remove no longer needed code
2008/05/08 16:17:02 od 1.14.690.2: RESYNC: (1.14-1.15); FILE MERGED
2008/03/06 08:13:50 od 1.14.690.1: #i86732# class <SwNumRuleItem>
- refactoring: remove member <pDefinedIn>. Thus, this item is poolable
Diffstat (limited to 'sw/inc/paratr.hxx')
-rw-r--r-- | sw/inc/paratr.hxx | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/sw/inc/paratr.hxx b/sw/inc/paratr.hxx index 57809f70a4b0..3f65056e1cd5 100644 --- a/sw/inc/paratr.hxx +++ b/sw/inc/paratr.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: paratr.hxx,v $ - * $Revision: 1.15 $ + * $Revision: 1.16 $ * * This file is part of OpenOffice.org. * @@ -142,23 +142,22 @@ inline SwRegisterItem& SwRegisterItem::operator=( class SW_DLLPUBLIC SwNumRuleItem : public SfxStringItem { - SwModify* pDefinedIn; // Modify-Object, in dem das NumRule steht - // kann nur TxtFmtCollection/TxtNode sein public: TYPEINFO(); + // --> OD 2008-03-04 #refactorlists# - removed <pDefinedIn> SwNumRuleItem() - : SfxStringItem( RES_PARATR_NUMRULE, aEmptyStr ), pDefinedIn(0) {} + : SfxStringItem( RES_PARATR_NUMRULE, aEmptyStr ) {} SwNumRuleItem( const String& rRuleName ) - : SfxStringItem( RES_PARATR_NUMRULE, rRuleName ), pDefinedIn(0) {} + : SfxStringItem( RES_PARATR_NUMRULE, rRuleName ) {} SwNumRuleItem( const SwNumRuleItem& rCpy ) - : SfxStringItem( RES_PARATR_NUMRULE, rCpy.GetValue() ), pDefinedIn(0) {} - + : SfxStringItem( RES_PARATR_NUMRULE, rCpy.GetValue() ) {} SwNumRuleItem& operator=( const SwNumRuleItem& rCpy ) - { SetValue( rCpy.GetValue() ); pDefinedIn=0; return *this; } + { SetValue( rCpy.GetValue() ); return *this; } + // <-- // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; @@ -171,11 +170,6 @@ public: virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId ) const; virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId ); - - // erfrage und setze den Modify-Pointer - inline const SwModify* GetDefinedIn() const { return pDefinedIn; } - inline void ChgDefinedIn( const SwModify* pNew ) - { pDefinedIn = (SwModify*)pNew; } }; class SwParaConnectBorderItem : public SfxBoolItem |