summaryrefslogtreecommitdiff
path: root/sw/inc/fmtftn.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-08-20 12:56:12 +0200
committerMichael Stahl <mstahl@redhat.com>2014-08-20 16:40:17 +0200
commite54015d06f103e3ce9edc899f0d839ead88add8a (patch)
tree0950a1c4f53a7d65011b772f3960b307ac186643 /sw/inc/fmtftn.hxx
parenteee8b6eed6145f695d532aa62c33e3a0c44cba86 (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/fmtftn.hxx')
-rw-r--r--sw/inc/fmtftn.hxx8
1 files changed, 7 insertions, 1 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;}