diff options
Diffstat (limited to 'sw/source/core/docnode/node.cxx')
-rw-r--r-- | sw/source/core/docnode/node.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx index 2fb5e255148e..2ed5ff85a3c4 100644 --- a/sw/source/core/docnode/node.cxx +++ b/sw/source/core/docnode/node.cxx @@ -1178,7 +1178,7 @@ void SwContentNode::SwClientNotify( const SwModify&, const SfxHint& rHint) AttrSetHandleHelper::SetParent(mpAttrSet, *this, pFormatColl, pFormatColl); if(bCalcHidden) static_cast<SwTextNode*>(this)->SetCalcHiddenCharFlags(); - CallSwClientNotify(rHint); + NotifyClients(pLegacyHint->m_pOld, pLegacyHint->m_pNew); } else if (auto pModifyChangedHint = dynamic_cast<const sw::ModifyChangedHint*>(&rHint)) { @@ -1904,7 +1904,7 @@ void SwContentNode::SetCondFormatColl(SwFormatColl* pColl) { SwFormatChg aTmp1(pOldColl ? pOldColl : GetFormatColl()); SwFormatChg aTmp2(pColl ? pColl : GetFormatColl()); - CallSwClientNotify(sw::LegacyModifyHint(&aTmp1, &aTmp2)); + NotifyClients(&aTmp1, &aTmp2); } if(IsInCache()) { |