diff options
author | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2020-02-04 01:50:56 +0100 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@libreoffice.org> | 2020-02-07 19:49:13 +0100 |
commit | c73b5e969b2f9abdb2b9191938ca30bec5af725d (patch) | |
tree | 5bb49b193f7c143f380d8e5ce580552b588888ec /sw/source/core/doc/docfld.cxx | |
parent | 61fbdb13121643c6faf917912bd39c6b9720888a (diff) |
SwFormatField::Modify no more (folded into SwClientNotify)
- refactor out field formatting
* make direct calls explicit with new UpdateTextNode() call
* try to bring at least some sanity to the event handler
Change-Id: I40a39ddf70476b7fa0bf5e157fb263e863bb1d20
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87927
Tested-by: Jenkins
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org>
Diffstat (limited to 'sw/source/core/doc/docfld.cxx')
-rw-r--r-- | sw/source/core/doc/docfld.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/docfld.cxx b/sw/source/core/doc/docfld.cxx index 8b5f7d467328..16acdec86cfa 100644 --- a/sw/source/core/doc/docfld.cxx +++ b/sw/source/core/doc/docfld.cxx @@ -940,7 +940,7 @@ void SwDocUpdateField::MakeFieldList_( SwDoc& rDoc, int eGetMode ) // evaluate field const_cast<SwHiddenTextField*>(static_cast<const SwHiddenTextField*>(pField))->Evaluate(&rDoc); // trigger formatting - const_cast<SwFormatField*>(pFormatField)->ModifyNotification( nullptr, nullptr ); + const_cast<SwFormatField*>(pFormatField)->UpdateTextNode(nullptr, nullptr); } break; |