summaryrefslogtreecommitdiff
path: root/oox/source
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-08-16 13:56:07 +0300
committerAndras Timar <andras.timar@collabora.com>2018-08-20 09:46:01 +0200
commit53dfffb5ca85afa3c74b8e7a8f05cb4f2840c477 (patch)
tree2a794c3c5eb777ffcd49f57cbc1bb3567bc924bf /oox/source
parent7a0cad5a5667406b37b9ad6ec1e86d79784ce0ee (diff)
tdf#119294: reimplement fix for tdf#118859
When removing paragraphs with mail mere fields, both field type reference and node reference could get invalid, because field type will be destroyed when its last field is gone; and node will be destroyed if it is in a fly with anchor in another node which gets destroyed. To avoid use-after-delete, we will use an SwClient on field types, thus detecting if a collected field type got destroyed; iterating over fields using SwIterator is safe, because removing a node with fields would update the iterator. Change-Id: Id8b555ef7015b13ab70ebb41845d34c477ac6b31 Reviewed-on: https://gerrit.libreoffice.org/59164 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> (cherry picked from commit c883d5e073d2ac5b2d55126c929d7bf3e6d295e8) Reviewed-on: https://gerrit.libreoffice.org/59178 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'oox/source')
0 files changed, 0 insertions, 0 deletions