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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Feb 27 22:37:10 UTC 2019


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

New commits:
commit 5413c8871dec08eff19f514f5f391b946a45c86c
Author:     Eike Rathke <erack at redhat.com>
AuthorDate: Wed Feb 27 13:57:25 2019 +0100
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Wed Feb 27 23:36:48 2019 +0100

    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 at redhat.com>
    Tested-by: Jenkins

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 }},


More information about the Libreoffice-commits mailing list