summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-08-16 13:56:07 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-08-16 15:06:22 +0200
commitc883d5e073d2ac5b2d55126c929d7bf3e6d295e8 (patch)
treece982f67e47bef6d8bb0f32a6ae050e067e5af4b /svtools
parent346ba4bedaaa5fa6a7b76687b749959814685846 (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>
Diffstat (limited to 'svtools')
0 files changed, 0 insertions, 0 deletions