summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2019-02-27 13:57:25 +0100
committerEike Rathke <erack@redhat.com>2019-02-27 23:36:48 +0100
commit5413c8871dec08eff19f514f5f391b946a45c86c (patch)
treec54361108001d5baeefcba3e09e513b79de9ef28 /sc
parentf331244337a9b2c70ac1bb52b0637c32956b7d91 (diff)
Related: tdf#122301 TRANSPOSE() with ForceArrayReturn on caller
As stated in ECMA-376-1:2016 OOXML 18.17.7.327 TRANSPOSE "The formula containing the call to TRANSPOSE shall be an array formula [...]" Similar to commit d0ded163d8e93dc5b10d7a7c9bdab1d0a6a50bac CommitDate: Wed Jan 16 11:17:14 2019 +0100 Related: tdf#122301 FREQUENCY() with ForceArrayReturn on caller Change-Id: I617bfcc0b8ecb244df3441ab885ec926efd77e3f Reviewed-on: https://gerrit.libreoffice.org/68436 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/parclass.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/parclass.cxx b/sc/source/core/tool/parclass.cxx
index 7e2cd6eacd9f..76c132672a25 100644
--- a/sc/source/core/tool/parclass.cxx
+++ b/sc/source/core/tool/parclass.cxx
@@ -174,7 +174,7 @@ const ScParameterClassification::RawData ScParameterClassification::pRawData[] =
{ ocMatDet, {{ ForceArray }, 0, Value }},
{ ocMatInv, {{ ForceArray }, 0, Value }},
{ ocMatMult, {{ ForceArray, ForceArray }, 0, Value }},
- { ocMatTrans, {{ Array }, 0, Value }}, // strange, but Xcl doesn't force MatTrans array
+ { ocMatTrans, {{ Array }, 0, ForceArrayReturn }}, // strange, but Xcl doesn't ForceArray on the argument
{ ocMatValue, {{ Reference, Value, Value }, 0, Value }},
{ ocMatch, {{ Value, ReferenceOrForceArray, Value }, 0, Value }},
{ ocMax, {{ ReferenceOrRefArray }, 1, Value }},