diff options
author | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2021-01-09 12:06:50 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2021-01-11 21:43:59 +0100 |
commit | 8addde21e0e182a2e64f705a372869f39e98483e (patch) | |
tree | a99d20d4e86017802fdf7c2965b8a1dd0183ad56 /sw/source/core/fields | |
parent | f0fac3d7eeaeae28a80f3f74310b1bd7c92f5cf4 (diff) |
Revert "Revert "NotifyClients no more""
- ... and ensure caching gets checked in SwFormat this time.
This reverts commit d988b0cdeb54d84a0347a036a277c21c12544ab9.
Change-Id: Iea887f841c47cde4a025a305eb0984392e3bb5cc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109037
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Reviewed-by: Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org>
Diffstat (limited to 'sw/source/core/fields')
-rw-r--r-- | sw/source/core/fields/reffld.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/fields/reffld.cxx b/sw/source/core/fields/reffld.cxx index a6c6185c28af..10008bdd73ac 100644 --- a/sw/source/core/fields/reffld.cxx +++ b/sw/source/core/fields/reffld.cxx @@ -1090,7 +1090,7 @@ void SwGetRefFieldType::UpdateGetReferences() // #i81002# pGRef->UpdateField(pFormatField->GetTextField()); } - NotifyClients(nullptr, nullptr); + CallSwClientNotify(sw::LegacyModifyHint(nullptr, nullptr)); } void SwGetRefFieldType::SwClientNotify(const SwModify&, const SfxHint& rHint) @@ -1105,7 +1105,7 @@ void SwGetRefFieldType::SwClientNotify(const SwModify&, const SfxHint& rHint) UpdateGetReferences(); else // forward to text fields, they "expand" the text - NotifyClients(pLegacy->m_pOld, pLegacy->m_pNew); + CallSwClientNotify(rHint); } namespace sw { |