sc/source/core/data/column2.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 8f7eb6edfa5cc561d52060f44128d4c0e5d439bf Author: Luboš Luňák <l.lu...@collabora.com> Date: Thu May 24 13:54:23 2018 +0200 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/54766 Reviewed-by: Michael Meeks <michael.me...@collabora.com> Tested-by: Michael Meeks <michael.me...@collabora.com> diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx index ba3896ddcc35..0a62cb10506d 100644 --- a/sc/source/core/data/column2.cxx +++ b/sc/source/core/data/column2.cxx @@ -2823,6 +2823,9 @@ bool ScColumn::HandleRefArrayForParallelism( SCROW nRow1, SCROW nRow2 ) auto aCell = GetCellValue(i); if (aCell.meType == CELLTYPE_FORMULA) aCell.mpFormula->MaybeInterpret(); + // These require EditEngine (in ScEditUtils::GetString()), which is probably too complex for use in threads. + if (aCell.meType == CELLTYPE_EDIT) + return false; } return true; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits