summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-04-20 13:52:18 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2017-04-25 17:47:36 +0200
commit1632b5cb4684834b1f4ce47ef47a827d2809ab61 (patch)
tree84f2db417779e881c7b747fea40d6455caf80a6b /sc
parentab79e074c3e5df02023a3f1f58b8ab75c7c060f1 (diff)
Resolves: tdf#99625 add parameter classification for TEXTJOIN and CONCAT
So in array context the functions return a single string instead of an array of identical strings. Change-Id: Ia6ada10be4912745b60e281fac1736c560162d3a (cherry picked from commit f0fef88b747cc4f4de7a5ccb93da9c062545dcfb) Reviewed-on: https://gerrit.libreoffice.org/36744 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/parclass.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/core/tool/parclass.cxx b/sc/source/core/tool/parclass.cxx
index bd8ca5544a8d..66ca8e5c3a48 100644
--- a/sc/source/core/tool/parclass.cxx
+++ b/sc/source/core/tool/parclass.cxx
@@ -80,6 +80,7 @@ const ScParameterClassification::RawData ScParameterClassification::pRawData[] =
{ ocCell, {{ Value, Reference }, 0 }},
{ ocColumn, {{ Reference }, 0 }},
{ ocColumns, {{ Reference }, 1 }},
+ { ocConcat_MS, {{ Reference }, 1 }},
{ ocCorrel, {{ ForceArray, ForceArray }, 0 }},
{ ocCount, {{ Reference }, 1 }},
{ ocCount2, {{ Reference }, 1 }},
@@ -195,6 +196,7 @@ const ScParameterClassification::RawData ScParameterClassification::pRawData[] =
{ ocSumXMY2, {{ ForceArray, ForceArray }, 0 }},
{ ocSheet, {{ Reference }, 0 }},
{ ocSheets, {{ Reference }, 1 }},
+ { ocTextJoin_MS, {{ Reference, Value, Reference }, 1 }},
{ ocTrend, {{ Reference, Reference, Reference, Value }, 0 }},
{ ocTrimMean, {{ Reference, Value }, 0 }},
{ ocTTest, {{ ForceArray, ForceArray, Value, Value }, 0 }},