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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Jan 7 19:43:31 UTC 2019


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

New commits:
commit a6572f5f014ed159e340ed31b6e5a08527c09088
Author:     Eike Rathke <erack at redhat.com>
AuthorDate: Mon Jan 7 18:37:56 2019 +0100
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Mon Jan 7 20:43:09 2019 +0100

    Resolves: tdf#122301 ReferenceOrForceArray for FREQUENCY() parameters
    
    It's yet unclear whether
    ECMA-376-1:2016 OOXML 18.17.7.127 FREQUENCY
    "A call to FREQUENCY shall be an array formula."
    indicates that the entire formula expression should be in array
    mode as well, see
    https://bugs.documentfoundation.org/show_bug.cgi?id=122301#c8
    
    If so, that will need a follow-up change.
    
    Change-Id: Ic302d25631fb870b46989b922c95912ab5d123df
    Reviewed-on: https://gerrit.libreoffice.org/65940
    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 46179fe552f8..4d1672bbd079 100644
--- a/sc/source/core/tool/parclass.cxx
+++ b/sc/source/core/tool/parclass.cxx
@@ -146,7 +146,7 @@ const ScParameterClassification::RawData ScParameterClassification::pRawData[] =
     { ocForecast_ETS_STA, {{ ForceArray, ForceArray, ForceArray, Value, Value, Value        }, 0, Value }},
     { ocForecast_ETS_STM, {{ ForceArray, ForceArray, ForceArray, Value, Value, Value        }, 0, Value }},
     { ocFormula,         {{ Reference                                            }, 0, Value }},
-    { ocFrequency,       {{ Reference, Reference                                 }, 0, Value }},
+    { ocFrequency,       {{ ReferenceOrForceArray, ReferenceOrForceArray         }, 0, Value }},
     { ocGCD,             {{ Reference                                            }, 1, Value }},
     { ocGeoMean,         {{ Reference                                            }, 1, Value }},
     { ocGreater,         {{ Array, Array                                         }, 0, Value }},


More information about the Libreoffice-commits mailing list