diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-08-20 12:56:12 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-08-20 16:40:17 +0200 |
commit | e54015d06f103e3ce9edc899f0d839ead88add8a (patch) | |
tree | 0950a1c4f53a7d65011b772f3960b307ac186643 /sw/inc | |
parent | eee8b6eed6145f695d532aa62c33e3a0c44cba86 (diff) |
i#107771: sw: make SwXFootnote a client of its format poolitem
In other words, stop registering at SwDoc's "UnoCallBack".
Change-Id: Ie73c707b0f43559cc78717c0879d5e9a9335a7ac
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/fmtftn.hxx | 8 | ||||
-rw-r--r-- | sw/inc/hintids.hxx | 1 |
2 files changed, 7 insertions, 2 deletions
diff --git a/sw/inc/fmtftn.hxx b/sw/inc/fmtftn.hxx index 038b68231158..fdfaee578d4e 100644 --- a/sw/inc/fmtftn.hxx +++ b/sw/inc/fmtftn.hxx @@ -21,14 +21,18 @@ #include <rtl/ustring.hxx> #include <svl/poolitem.hxx> + #include "swdllapi.h" +#include <calbck.hxx> class SwDoc; class SwTxtFtn; // ATT_FTN -class SW_DLLPUBLIC SwFmtFtn: public SfxPoolItem +class SW_DLLPUBLIC SwFmtFtn + : public SfxPoolItem + , public SwModify { friend class SwTxtFtn; SwTxtFtn* m_pTxtAttr; ///< My TextAttribute. @@ -48,6 +52,8 @@ public: virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const SAL_OVERRIDE; + void InvalidateFootnote(); + OUString GetNumStr() const { return m_aNumber; } sal_uInt16 GetNumber() const { return m_nNumber; } bool IsEndNote() const { return m_bEndNote;} diff --git a/sw/inc/hintids.hxx b/sw/inc/hintids.hxx index 3c5db6b159da..687727679506 100644 --- a/sw/inc/hintids.hxx +++ b/sw/inc/hintids.hxx @@ -329,7 +329,6 @@ RES_MSG_BEGIN = RES_FMT_END, RES_SECTION_RESETHIDDENFLAG, RES_FINDNEARESTNODE, RES_CONTENT_VISIBLE, - RES_FOOTNOTE_DELETED, RES_GRAPHIC_SWAPIN, RES_NAME_CHANGED, RES_TITLE_CHANGED, |