diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2021-10-06 12:57:15 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2021-10-06 16:31:35 +0200 |
commit | e7ec79fe36a0f22f10167806da80e3c1f30b36e8 (patch) | |
tree | f351d73c0486d88a2ab6d56079ed1bd94d34e865 /svtools | |
parent | a693009c28059435ea5bae6d89a76e2243fe7793 (diff) |
ScRangeList::UpdateReference() join all ranges properly (tdf#140901)
This is basically a revert of 6eb8634a9f62bfe486ecd2f46, which
made this Join() just the last range, probably under the assumption
that the function is always called with just one range to update,
or to avoid the possibility that Join() removes several items
from the list, breaking the next step of the loop. But DeleteArea()
may split several ranges, so we need to make sure to Join()
all of them.
Change-Id: Iea124142335ccdc8fa578344cddce8670c27573d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123135
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'svtools')
0 files changed, 0 insertions, 0 deletions