Kaydet (Commit) 4aecbe99 authored tarafından Luboš Luňák's avatar Luboš Luňák Kaydeden (comit) Mike Kaganski

blacklist all ocDB* tokens for Calc threading

A sort of follow-up to 92e6be66, all functions possibly may have
this problem. E.g. sc_opencl_test, if it somehow ends up actually
using threads instead of OpenCL, uses ocDBCount, which indirectly
ends up in ScColumn::GetInputString() calling non-threaded context.

Change-Id: I6e2b1c9aa6dc9a7d8732cdf2e86b8041f19d5bac
Reviewed-on: https://gerrit.libreoffice.org/60030
Tested-by: Jenkins
Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
üst 1da0940a
......@@ -1289,7 +1289,18 @@ void ScTokenArray::CheckForThreading( const FormulaToken& r )
ocCell,
ocInfo,
ocStyle,
ocDBAverage,
ocDBCount,
ocDBCount2,
ocDBGet,
ocDBMax,
ocDBMin,
ocDBProduct,
ocDBStdDev,
ocDBStdDevP,
ocDBSum,
ocDBVar,
ocDBVarP,
ocText,
ocExternal,
ocDde,
......
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