diff options
| author | Michael Stahl <michael.stahl@allotropia.de> | 2022-04-01 17:16:20 +0200 |
|---|---|---|
| committer | Caolán McNamara <caolanm@redhat.com> | 2022-04-01 22:26:33 +0200 |
| commit | 784ed64ff50bad19ab3edeefaf336a85594bddaa (patch) | |
| tree | e251c0de9da6b3e1386815bc437fad43a3cf3fc1 /icon-themes/colibre_svg/cmd/sc_dbviewaliases.svg | |
| parent | 74a12d9710ba1a9855c6afb18055152120148833 (diff) | |
forcepoint#96 sw: delete fieldmarks in DelFullPara()
The problem is that CorrAbs() will move any position of a fieldmark
that's in the deleted SwTextNodes to a different node that doesn't have
the CH_TXT_ATR_FIELD*.
Then it will inevitably crash later when it can't find its chars.
The other problem is that if there's only a CH_TXT_ATR_FIELDSEP in the
deleted nodes, that fieldmark would then be missing it.
Just delete fieldmarks with positions in deleted nodes, that should work
fine for the usual cases where DelFullPara() is called.
Change-Id: I8dfac9a315d74025dbe1ed5ccb95b7c9121fb569
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132422
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'icon-themes/colibre_svg/cmd/sc_dbviewaliases.svg')
0 files changed, 0 insertions, 0 deletions
