summaryrefslogtreecommitdiff
path: root/sc/source/core/data
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-11-18 17:59:30 +0200
committerMichael Meeks <michael.meeks@collabora.com>2013-11-20 18:23:06 +0000
commit94544378e5fcee7de5b481a9f06d7ef4a821d107 (patch)
treed30bfc361b3e38a0fb0e0c6cd94b568414021868 /sc/source/core/data
parent2f98f0ecf8964f5fce8e315fbff29760aa6449dd (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.cxx2
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