diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-08-19 22:54:57 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-08-20 16:40:15 +0200 |
commit | e7c96f3e8f2c2f6bf31ec21fe0d1fbaecb07c3f9 (patch) | |
tree | 1187507c132ce5ee588e5a4c5ed738f76184bfc9 /sw/source/core/txtnode/thints.cxx | |
parent | b684cd4b071be9b26dd35e3104450135ffbfea98 (diff) |
i#107771: sw: make SwXReferenceMark a client of its format poolitem
In other words, stop registering at SwDoc's "UnoCallBack"
Change-Id: I9e08966cf8e2d2a373867d81549c8887f73993c8
Diffstat (limited to 'sw/source/core/txtnode/thints.cxx')
-rw-r--r-- | sw/source/core/txtnode/thints.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx index 4b327f73ca0c..d98790aa7ba0 100644 --- a/sw/source/core/txtnode/thints.cxx +++ b/sw/source/core/txtnode/thints.cxx @@ -32,6 +32,7 @@ #include <txtinet.hxx> #include <txtflcnt.hxx> #include <fmtfld.hxx> +#include <fmtrfmrk.hxx> #include <fmtanchr.hxx> #include <fmtinfmt.hxx> #include <txtatr.hxx> @@ -1185,7 +1186,7 @@ void SwTxtNode::DestroyAttr( SwTxtAttr* pAttr ) break; case RES_TXTATR_REFMARK: - nDelMsg = RES_REFMARK_DELETED; + static_cast<SwFmtRefMark&>(pAttr->GetAttr()).InvalidateRefMark(); break; case RES_TXTATR_META: |