Kaydet (Commit) 8f7eb6ed authored tarafından Luboš Luňák's avatar Luboš Luňák Kaydeden (comit) Michael Meeks

avoid CELLTYPE_EDIT for calc's threaded calculations

Since ScEditUtils::GetString() requires EditEngine, which is probably not
completely thread-safe.

Change-Id: Ie3d64f56b76a5861fa4b0a1f9cb683cd26806b35
Reviewed-on: https://gerrit.libreoffice.org/54766Reviewed-by: 's avatarMichael Meeks <michael.meeks@collabora.com>
Tested-by: 's avatarMichael Meeks <michael.meeks@collabora.com>
üst e87cc12e
......@@ -2823,6 +2823,9 @@ bool ScColumn::HandleRefArrayForParallelism( SCROW nRow1, SCROW nRow2 )
auto aCell = GetCellValue(i);
if (aCell.meType == CELLTYPE_FORMULA)
// These require EditEngine (in ScEditUtils::GetString()), which is probably too complex for use in threads.
if (aCell.meType == CELLTYPE_EDIT)
return false;
return true;
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