diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-11-18 17:59:30 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2013-11-20 18:23:06 +0000 |
commit | 94544378e5fcee7de5b481a9f06d7ef4a821d107 (patch) | |
tree | d30bfc361b3e38a0fb0e0c6cd94b568414021868 /sc/source/core/data | |
parent | 2f98f0ecf8964f5fce8e315fbff29760aa6449dd (diff) |
Fix some life-cycle issues for backgroup OpenCL kernel compilation
Now it no longer asserts or crashes in light testing, but it doesn't
properly recalculate either.
Change-Id: I7dc117341eff5ac1b21d7400122cc6e04ae2baf7
Diffstat (limited to 'sc/source/core/data')
-rw-r--r-- | sc/source/core/data/formulacell.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx index 1fbe8956c40e..f7b001bd9521 100644 --- a/sc/source/core/data/formulacell.cxx +++ b/sc/source/core/data/formulacell.cxx @@ -1769,7 +1769,7 @@ void ScFormulaCell::SetDirty( bool bDirtyFlag ) void ScFormulaCell::SetDirtyVar() { bDirty = true; - if (mxGroup) + if (mxGroup && mxGroup->meCalcState == sc::GroupCalcRunning) mxGroup->meCalcState = sc::GroupCalcEnabled; // mark the sheet of this cell to be calculated |