[Libreoffice-commits] core.git: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Feb 28 21:35:18 UTC 2019


 sc/source/core/tool/parclass.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d2be2f1aebb883c74460d049a5e2b821ecd5947c
Author:     Eike Rathke <erack at redhat.com>
AuthorDate: Thu Feb 28 15:00:11 2019 +0100
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Thu Feb 28 22:34:52 2019 +0100

    ocMatTrans with ForceArray
    
    Now that OOXML reveiled that the formula expression containing a
    TRANSPOSE() call shall be in array mode, the old comment about
    Excel not forcing array on the argument (in BIFF token class)
    makes sense. Use ForceArray and remove now moot comment.
    
    Change-Id: Iab2bced788de3429aab2bb7c3ca7f24d5dbf0340
    Reviewed-on: https://gerrit.libreoffice.org/68509
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Jenkins

diff --git a/sc/source/core/tool/parclass.cxx b/sc/source/core/tool/parclass.cxx
index 76c132672a25..b8428191842e 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, ForceArrayReturn }}, // strange, but Xcl doesn't ForceArray on the argument
+    { ocMatTrans,        {{ ForceArray                                           }, 0, ForceArrayReturn }},
     { ocMatValue,        {{ Reference, Value, Value                              }, 0, Value }},
     { ocMatch,           {{ Value, ReferenceOrForceArray, Value                  }, 0, Value }},
     { ocMax,             {{ ReferenceOrRefArray                                  }, 1, Value }},


More information about the Libreoffice-commits mailing list