diff options
author | Dennis Francis <dennis.francis@collabora.co.uk> | 2017-11-30 14:36:24 +0530 |
---|---|---|
committer | Dennis Francis <dennis.francis@collabora.co.uk> | 2017-12-12 16:48:59 +0100 |
commit | 330b1b5bcec06e3a8d35413ff921fa219bc0a8dc (patch) | |
tree | ef26447ded17a84b7997402da9f3cbb841e3e70a /sc/inc/types.hxx | |
parent | fdfdb98824103639ed4225e5b1f11629d48db27e (diff) |
Do not use threading for formula group if...
...there is at least one opcode in the token array that is
in the blacklist set of opcodes for threading.
Cleaned up the logic by removing FormulaVectorEnabledForThreading
from ScFormulaVectorState enum and created two separate boolean
fields in ScTokenArray to keep track of whether OpenCL or threading
could be used.
Change-Id: Ieca0004b33a3cfea6ca5c0ff90bc8cea8746d102
Reviewed-on: https://gerrit.libreoffice.org/45564
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sc/inc/types.hxx')
-rw-r--r-- | sc/inc/types.hxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sc/inc/types.hxx b/sc/inc/types.hxx index cc82e363765d..51898c291fde 100644 --- a/sc/inc/types.hxx +++ b/sc/inc/types.hxx @@ -59,7 +59,6 @@ enum ScFormulaVectorState FormulaVectorEnabled, FormulaVectorCheckReference, - FormulaVectorEnabledForThreading, FormulaVectorUnknown }; |