summaryrefslogtreecommitdiff
path: root/sc/source/core/opencl/formulagroupcl.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2022-08-30 15:48:40 +0200
committerLuboš Luňák <l.lunak@collabora.com>2022-08-31 09:13:37 +0200
commit975fa7d700d50d376090de6c370aa00b8b38e8cf (patch)
tree648e22a211a6809d0d39a9dc0f208279b668803c /sc/source/core/opencl/formulagroupcl.cxx
parent19e64b69fe1327993e8eeec41572d9c258686965 (diff)
remove opencl implementation of CONVERT()
Part of removal of string handling in opencl (using the hash here is not that bad, a hash collision is unlikely, but still). And the code handles only two conversions (m<->km and sec<->min ? I'm not even sure). And it seems it's not used a single time for all of Calc's checks. It could be added back if there's use for it (possibly with handling the strings better, e.g. by converting them in the C++ code to enumeration values passed to opencl). Change-Id: I65a6ab51d8fb42c09d8a76a1e09f6f5fcbae099a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139051 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sc/source/core/opencl/formulagroupcl.cxx')
-rw-r--r--sc/source/core/opencl/formulagroupcl.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index b30fa97f854f..6855434d37b7 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -3771,11 +3771,6 @@ DynamicKernelSoPArguments::DynamicKernelSoPArguments(const ScCalcConfig& config,
mvSubArguments.push_back(SoPHelper(mCalcConfig, ts, ft->Children[i],
std::make_shared<OpSqrtPi>(), nResultSize));
}
- else if (pChild->GetExternal() == "com.sun.star.sheet.addin.Analysis.getConvert")
- {
- mvSubArguments.push_back(SoPHelper(mCalcConfig, ts, ft->Children[i],
- std::make_shared<OpConvert>(), nResultSize));
- }
else if (pChild->GetExternal() == "com.sun.star.sheet.addin.Analysis.getIseven")
{
mvSubArguments.push_back(SoPHelper(mCalcConfig, ts, ft->Children[i],