Kaydet (Commit) 3e8df9eb authored tarafından Tor Lillqvist's avatar Tor Lillqvist Kaydeden (comit) Michael Meeks

Avoid crash in unit test

Change-Id: Ic452c1a2a8a7099a22584130e6a161c25bccabae
üst 856e0ab3
...@@ -3329,7 +3329,8 @@ ScFormulaCellGroupRef ScFormulaCell::CreateCellGroup( SCROW nLen, bool bInvarian ...@@ -3329,7 +3329,8 @@ ScFormulaCellGroupRef ScFormulaCell::CreateCellGroup( SCROW nLen, bool bInvarian
mxGroup->mbInvariant = bInvariant; mxGroup->mbInvariant = bInvariant;
mxGroup->mnLength = nLen; mxGroup->mnLength = nLen;
mxGroup->mpCode = pCode; // Move this to the shared location. mxGroup->mpCode = pCode; // Move this to the shared location.
mxGroup->scheduleCompilation(); if (mxGroup->mxCLKernelThread.is())
mxGroup->scheduleCompilation();
return mxGroup; return mxGroup;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment