diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-06-22 11:42:22 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-06-22 13:47:01 +0200 |
commit | e1b6dcc97d6b5ff15b2e9341d3943ffc05aa3236 (patch) | |
tree | bbdcc4672439c80d42b91f963f6c9da05129d479 /vcl | |
parent | bb4b538ff6c2b10d41784819224171df07910eaf (diff) |
failed cell dependency check should not set invalid values (tdf#132451)
Calc's dependency check done before parallel formula cell group
calculation tries to ensure valid cell values for all the dependencies
of the group's cell, and if it detects a problem such as a cycle
it bails out. But since ScFormulaCell::Interpret() simply bailed out
without doing anything, other cells could use that cell's possibly
incorrect value for their calculation and get their dirty flag reset.
This fix adds a flag to mark that bailing out is in progress, which
ensures the bail-out is short-circuited and no cell values are set.
Change-Id: Ia93c70d456682e19ce533abd2cf65ce35ffed9ca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96838
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'vcl')
0 files changed, 0 insertions, 0 deletions