summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-04-11 14:31:47 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2018-04-11 17:11:32 +0200
commit7db137e87177dbe381186491ca36e3e8fd62ddc2 (patch)
tree8b1ed1e001cc082371683a406c094e77d1aa6343 /vcl/headless
parentb524de950c6eb0bc61d05d41fe69b67ab59b16c6 (diff)
tdf#50057 sw: fix duplication of at-paragraph anchored flys
The problem is that the flys that are anchored to the first paragraph of a SwRedline do get copied by SwRangeRedline::CopyToSection(), but they don't get deleted by DelCopyOfSection(). Copying is enabled because the setting of the SetRedlineMove() was made conditional in commit 65de5382a389cc7edf1cdf506da4fb43a4d33a9f "#100619# fixed problem with hiding deleted graphics", which isn't justified in any way and which i can't imaginge a good reason for, given that the flys anchored in the first paragraph are all skipped in DelFlyInRange(), so why would you want to copy them; hence this reverts that commit. The interesting check for the redline_fly_duplication_at_para_end_inside case is actually the one that was added in commit 23e52c207760c596cc2f841ef59f3100c110d591 Change-Id: I96fb294a5456e7f1172a5f408ebcb21cf211c276 Reviewed-on: https://gerrit.libreoffice.org/52729 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'vcl/headless')
0 files changed, 0 insertions, 0 deletions