summaryrefslogtreecommitdiff
path: root/sw/inc/ftninfo.hxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2010-12-17 09:02:23 +0100
committerMathias Bauer <mba@openoffice.org>2010-12-17 09:02:23 +0100
commitde60fd06b84bc1aa080ef209b0eeb36914bd8b32 (patch)
tree91852e2ba1f7df04e02c5f75ca2fe4a1b58bfb5f /sw/inc/ftninfo.hxx
parent5e9bd0b1ce50ae0e03c0563ed2f0cd589d94a287 (diff)
CWS swlayoutrefactoring: #i115510#: first step to clean up the SwClient mess
Diffstat (limited to 'sw/inc/ftninfo.hxx')
-rw-r--r--sw/inc/ftninfo.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sw/inc/ftninfo.hxx b/sw/inc/ftninfo.hxx
index c3b9f7c7dc13..6bf1f073aa3d 100644
--- a/sw/inc/ftninfo.hxx
+++ b/sw/inc/ftninfo.hxx
@@ -29,9 +29,6 @@
#include <tools/string.hxx>
#include "swdllapi.h"
-//#ifndef _NUMRULE_HXX
-//#include <numrule.hxx>
-//#endif
#include <calbck.hxx>
#include <editeng/numitem.hxx>
@@ -48,6 +45,8 @@ class SW_DLLPUBLIC SwEndNoteInfo : public SwClient
String sSuffix;
protected:
bool m_bEndNote;
+ virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew );
+
public:
SvxNumberType aFmt;
USHORT nFtnOffset;
@@ -67,8 +66,6 @@ public:
void SetAnchorCharFmt( SwCharFmt* );
SwClient *GetAnchorCharFmtDep() const { return (SwClient*)&aAnchorCharFmtDep; }
- virtual void Modify( SfxPoolItem* pOld, SfxPoolItem* pNew );
-
SwEndNoteInfo & operator=(const SwEndNoteInfo&);
BOOL operator==( const SwEndNoteInfo &rInf ) const;
@@ -80,6 +77,7 @@ public:
void SetPrefix(const String& rSet) { sPrefix = rSet; }
void SetSuffix(const String& rSet) { sSuffix = rSet; }
+ void ReleaseCollection() { if ( GetRegisteredInNonConst() ) GetRegisteredInNonConst()->Remove( this ); }
};
enum SwFtnPos