summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-11-19 12:21:59 +0100
committerMichael Stahl <Michael.Stahl@cib.de>2018-12-07 10:32:26 +0100
commit39eeddaf4240a3988fbb7f293ecc0880fd8416a3 (patch)
treee57d7b603360dd5529c297251ed81284074de5c9
parentfcb94899362442df8f584223864ba1343c6859e8 (diff)
sw_redlinehide_4a: the SwTextNode item set contains XATTR_FILL too
... so handle them as well in SwTextFrame::SwClientNotify(). Change-Id: Ifa8bf8f44bcd08a64dc36939bad58efefbd7af55 (cherry picked from commit 52e8b41f1ceec33cd774d3e6b61e208b61a65eb3)
-rw-r--r--sw/source/core/text/txtfrm.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/core/text/txtfrm.cxx b/sw/source/core/text/txtfrm.cxx
index bc5f6e9cfa0f..70d34dc4ff91 100644
--- a/sw/source/core/text/txtfrm.cxx
+++ b/sw/source/core/text/txtfrm.cxx
@@ -2344,6 +2344,11 @@ void SwTextFrame::SwClientNotify(SwModify const& rModify, SfxHint const& rHint)
aNewSet.ClearItem(i);
}
}
+ for (sal_uInt16 i = XATTR_FILL_FIRST; i <= XATTR_FILL_LAST; ++i)
+ {
+ aOldSet.ClearItem(i);
+ aNewSet.ClearItem(i);
+ }
}
if (m_pMergedPara && m_pMergedPara->pFirstNode != &rModify)
{