summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-08-31 17:22:31 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-09-02 04:47:54 +0200
commitb78f39f487e70aec6170e186160fb0b7df862198 (patch)
tree357ba80a6426163b7ab5067784c95fa840a2535a /sc
parentbb8641f649cb53a4afe0653d641bd9907e2dfa57 (diff)
Classify ocPercentSign as Array capable
Actually it's implemented in RPN as Array 100 ocDiv, and ocDiv is Array capable. Not being classified as Array capable resulted in ArraySize times matrix-Div being executed, effectively ArraySize*ArraySize div operations. Change-Id: I23366b5aa9c146cc59dc880f2a561348f7977329 (cherry picked from commit 1897812ed4ab11409de8a58a75c3b631332ba92d) Reviewed-on: https://gerrit.libreoffice.org/41763 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/parclass.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/tool/parclass.cxx b/sc/source/core/tool/parclass.cxx
index 1c48eae27a88..b2bb2be6de55 100644
--- a/sc/source/core/tool/parclass.cxx
+++ b/sc/source/core/tool/parclass.cxx
@@ -167,6 +167,7 @@ const ScParameterClassification::RawData ScParameterClassification::pRawData[] =
{ ocOffset, {{ Reference, Value, Value, Value, Value }, 0, Reference }},
{ ocOr, {{ Reference }, 1, Value }},
{ ocPearson, {{ ForceArray, ForceArray }, 0, Value }},
+ { ocPercentSign, {{ Array }, 0, Value }},
{ ocPercentile, {{ Reference, Value }, 0, Value }},
{ ocPercentile_Exc, {{ Reference, Value }, 0, Value }},
{ ocPercentile_Inc, {{ Reference, Value }, 0, Value }},