diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-01-12 20:24:07 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-01-12 20:42:16 +0200 |
commit | ad582ce757f671a6271648e22a136f2d238cc15e (patch) | |
tree | 2c442043deccfa5a9cf8cfc16915ef005439539c /sc | |
parent | 0694e8313877ca433d226c753301a5a90364b3a5 (diff) |
Drop Add, Sub, Mul and Div from the default opcode subset
Those are supposed to obey the current setting for "Conversion from text to
number", and the OpenCL code does not currently take that setting into
consideration.
Change-Id: Iff6eeda6238c78f4aeb8eb27898ce7ea243b9dea
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/calcconfig.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sc/source/core/tool/calcconfig.cxx b/sc/source/core/tool/calcconfig.cxx index 2b97929199d7..36db540cc363 100644 --- a/sc/source/core/tool/calcconfig.cxx +++ b/sc/source/core/tool/calcconfig.cxx @@ -41,10 +41,6 @@ void ScCalcConfig::setOpenCLConfigToDefault() // Keep in order of opcode value, is that clearest? (Random order, // at least, would make no sense at all.) - maOpenCLSubsetOpCodes.insert(ocAdd); - maOpenCLSubsetOpCodes.insert(ocSub); - maOpenCLSubsetOpCodes.insert(ocMul); - maOpenCLSubsetOpCodes.insert(ocDiv); maOpenCLSubsetOpCodes.insert(ocRandom); maOpenCLSubsetOpCodes.insert(ocSin); maOpenCLSubsetOpCodes.insert(ocCos); |