diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-08-20 12:41:51 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-08-20 16:40:17 +0200 |
commit | bbd97fe57d9ec184ef6aee36bd57d6d7e53b4719 (patch) | |
tree | 78ffc83638da9e5f7ce55f7a973ae76f7871d8b0 /sw/inc | |
parent | b8a28f81ecfabbbac7992f120aeedc7b36dfcbf8 (diff) |
i#107771: sw: make SwXTextField a client of its format poolitem
In other words, stop registering at SwDoc's "UnoCallBack"
Change-Id: Ieb2639497fe5e8d71aa1c47952c007da76fcee84
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/fmtfld.hxx | 7 | ||||
-rw-r--r-- | sw/inc/hintids.hxx | 1 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sw/inc/fmtfld.hxx b/sw/inc/fmtfld.hxx index 7ab3d68b633e..6245f20da7f9 100644 --- a/sw/inc/fmtfld.hxx +++ b/sw/inc/fmtfld.hxx @@ -36,7 +36,10 @@ class SwView; class SwFieldType; // ATT_FLD -class SW_DLLPUBLIC SwFmtFld : public SfxPoolItem, public SwClient, public SfxBroadcaster +class SW_DLLPUBLIC SwFmtFld + : public SfxPoolItem + , public SwModify + , public SfxBroadcaster { friend void _InitCore(); SwFmtFld( sal_uInt16 nWhich ); // for default-Attibute @@ -71,6 +74,8 @@ public: virtual bool GetInfo( SfxPoolItem& rInfo ) const SAL_OVERRIDE; + void InvalidateField(); + const SwField* GetField() const { return mpField; diff --git a/sw/inc/hintids.hxx b/sw/inc/hintids.hxx index 80408ced54ff..3c5db6b159da 100644 --- a/sw/inc/hintids.hxx +++ b/sw/inc/hintids.hxx @@ -331,7 +331,6 @@ RES_MSG_BEGIN = RES_FMT_END, RES_CONTENT_VISIBLE, RES_FOOTNOTE_DELETED, RES_GRAPHIC_SWAPIN, - RES_FIELD_DELETED, RES_NAME_CHANGED, RES_TITLE_CHANGED, RES_DESCRIPTION_CHANGED, |