summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-04-20 13:52:18 +0200
committerEike Rathke <erack@redhat.com>2017-04-20 14:08:51 +0200
commitf0fef88b747cc4f4de7a5ccb93da9c062545dcfb (patch)
tree087302cfdc54007441d14a5538b55de5a5201288
parent5a155bb75b62f02c8ed16cdafd492b625ce208c0 (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
-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 2830bdc47b91..7c5ffd3aae99 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 }},