diff options
-rw-r--r-- | sc/source/core/data/formulacell.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx index c17e4f3638dd..a864b1d7be9d 100644 --- a/sc/source/core/data/formulacell.cxx +++ b/sc/source/core/data/formulacell.cxx @@ -3329,7 +3329,8 @@ ScFormulaCellGroupRef ScFormulaCell::CreateCellGroup( SCROW nLen, bool bInvarian mxGroup->mbInvariant = bInvariant; mxGroup->mnLength = nLen; mxGroup->mpCode = pCode; // Move this to the shared location. - mxGroup->scheduleCompilation(); + if (mxGroup->mxCLKernelThread.is()) + mxGroup->scheduleCompilation(); return mxGroup; } |