diff options
author | Mathias Bauer <mba@openoffice.org> | 2010-12-17 09:02:23 +0100 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2010-12-17 09:02:23 +0100 |
commit | de60fd06b84bc1aa080ef209b0eeb36914bd8b32 (patch) | |
tree | 91852e2ba1f7df04e02c5f75ca2fe4a1b58bfb5f /sw/inc/fmtfld.hxx | |
parent | 5e9bd0b1ce50ae0e03c0563ed2f0cd589d94a287 (diff) |
CWS swlayoutrefactoring: #i115510#: first step to clean up the SwClient mess
Diffstat (limited to 'sw/inc/fmtfld.hxx')
-rw-r--r-- | sw/inc/fmtfld.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sw/inc/fmtfld.hxx b/sw/inc/fmtfld.hxx index 0e1932f9605b..1f8be0e88f12 100644 --- a/sw/inc/fmtfld.hxx +++ b/sw/inc/fmtfld.hxx @@ -27,6 +27,7 @@ #ifndef _FMTFLD_HXX #define _FMTFLD_HXX +#include <list> #include <svl/poolitem.hxx> #include <svl/brdcst.hxx> #include <svl/smplhint.hxx> @@ -37,6 +38,7 @@ class SwField; class SwTxtFld; class SwView; +class SwFieldType; // ATT_FLD *********************************** class SW_DLLPUBLIC SwFmtFld : public SfxPoolItem, public SwClient, public SfxBroadcaster @@ -53,6 +55,9 @@ class SW_DLLPUBLIC SwFmtFld : public SfxPoolItem, public SwClient, public SfxBro // @@@ copy construction allowed, but copy assignment is not? @@@ SwFmtFld& operator=(const SwFmtFld& rFld); +protected: + virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew); + public: TYPEINFO(); @@ -68,7 +73,6 @@ public: virtual int operator==( const SfxPoolItem& ) const; virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; - virtual void Modify( SfxPoolItem* pOld, SfxPoolItem* pNew ); virtual BOOL GetInfo( SfxPoolItem& rInfo ) const; const SwField *GetFld() const { return pField; } @@ -89,6 +93,7 @@ public: BOOL IsFldInDoc() const; BOOL IsProtect() const; + void RegisterToFieldType( SwFieldType& ); }; class SW_DLLPUBLIC SwFmtFldHint : public SfxHint |