diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2018-10-12 11:34:20 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2018-11-14 16:09:16 +0100 |
commit | 12c95935f265b484c0a2fa13470085710729c903 (patch) | |
tree | a05fe2319f5acf42bee46ad9da7d64c573d5fe20 /sc/inc/recursionhelper.hxx | |
parent | 7fb235b21d43f3afa340dfeb53efffd516ee21fd (diff) |
$SC_FORCE_CALCULATION to force Calc use opencl/threads for everything
So that e.g. unit tests can be easily run with OpenCL forced. This forces
even single cells to be evaluated using the forced method (many correctness
tests are just a single cell which normally would not be used for grouped
calculation).
Change-Id: If5c6e77a6e0d8696d5416d760cf5e47b8acf3d27
Reviewed-on: https://gerrit.libreoffice.org/63188
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sc/inc/recursionhelper.hxx')
-rw-r--r-- | sc/inc/recursionhelper.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/inc/recursionhelper.hxx b/sc/inc/recursionhelper.hxx index 23422d7c2a71..d91ee0cfbe58 100644 --- a/sc/inc/recursionhelper.hxx +++ b/sc/inc/recursionhelper.hxx @@ -59,6 +59,7 @@ class ScRecursionHelper bool bDoingRecursion; bool bInIterationReturn; bool bConverging; + std::vector< ScFormulaCell* > aTemporaryGroupCells; void Init(); void ResetIteration(); @@ -107,6 +108,9 @@ public: bool PushFormulaGroup(ScFormulaCell* pCell); void PopFormulaGroup(); bool AnyParentFGInCycle(); + + void AddTemporaryGroupCell(ScFormulaCell* cell); + void CleanTemporaryGroupCells(); }; /** A class to wrap ScRecursionHelper::PushFormulaGroup(), |