[Libreoffice-commits] core.git: sc/source
Eike Rathke (via logerrit)
logerrit at kemper.freedesktop.org
Mon Apr 27 19:49:58 UTC 2020
sc/source/core/tool/parclass.cxx | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit 4559ca1a9a276ed581e1799b3aa90fb084a3eb3f
Author: Eike Rathke <erack at redhat.com>
AuthorDate: Mon Apr 27 20:50:27 2020 +0200
Commit: Eike Rathke <erack at redhat.com>
CommitDate: Mon Apr 27 21:49:16 2020 +0200
Add the few functions without parameters as entries with Bounds
It doesn't really matter, but the assumption is that functions
without entries take at least one and only scalar value arguments.
Change-Id: I6a4cb882c86c50a0c63ddd5fc6a3b885fab32ea3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92990
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 356611c24b83..3f9843fb333c 100644
--- a/sc/source/core/tool/parclass.cxx
+++ b/sc/source/core/tool/parclass.cxx
@@ -121,6 +121,7 @@ const ScParameterClassification::RawData ScParameterClassification::pRawData[] =
{ ocCovar, {{ ForceArray, ForceArray }, 0, Value }},
{ ocCovarianceP, {{ ForceArray, ForceArray }, 0, Value }},
{ ocCovarianceS, {{ ForceArray, ForceArray }, 0, Value }},
+ { ocCurrent, {{ Bounds }, 0, Value }},
{ ocDBAverage, {{ Reference, Reference, Reference }, 0, Value }},
{ ocDBCount, {{ Reference, Reference, Reference }, 0, Value }},
{ ocDBCount2, {{ Reference, Reference, Reference }, 0, Value }},
@@ -137,6 +138,7 @@ const ScParameterClassification::RawData ScParameterClassification::pRawData[] =
{ ocDiv, {{ Array, Array }, 0, Value }},
{ ocEqual, {{ Array, Array }, 0, Value }},
{ ocFTest, {{ ForceArray, ForceArray }, 0, Value }},
+ { ocFalse, {{ Bounds }, 0, Value }},
{ ocForecast, {{ Value, ForceArray, ForceArray }, 0, Value }},
{ ocForecast_ETS_ADD, {{ ForceArray, ForceArray, ForceArray, Value, Value, Value }, 0, Value }},
{ ocForecast_ETS_MUL, {{ ForceArray, ForceArray, ForceArray, Value, Value, Value }, 0, Value }},
@@ -150,6 +152,8 @@ const ScParameterClassification::RawData ScParameterClassification::pRawData[] =
{ ocFrequency, {{ ReferenceOrForceArray, ReferenceOrForceArray }, 0, ForceArrayReturn }},
{ ocGCD, {{ Reference }, 1, Value }},
{ ocGeoMean, {{ Reference }, 1, Value }},
+ { ocGetActDate, {{ Bounds }, 0, Value }},
+ { ocGetActTime, {{ Bounds }, 0, Value }},
{ ocGreater, {{ Array, Array }, 0, Value }},
{ ocGreaterEqual, {{ Array, Array }, 0, Value }},
{ ocGrowth, {{ Reference, Reference, Reference, Value }, 0, Value }},
@@ -195,6 +199,7 @@ const ScParameterClassification::RawData ScParameterClassification::pRawData[] =
{ ocNetWorkdays, {{ Value, Value, Reference, Reference }, 0, Value }},
{ ocNetWorkdays_MS, {{ Value, Value, Value, Reference }, 0, Value }},
{ ocNot, {{ Array }, 0, Value }},
+ { ocNotAvail, {{ Bounds }, 0, Value }},
{ ocNotEqual, {{ Array, Array }, 0, Value }},
{ ocOffset, {{ Reference, Value, Value, Value, Value }, 0, Reference }},
{ ocOr, {{ Reference }, 1, Value }},
@@ -206,6 +211,7 @@ const ScParameterClassification::RawData ScParameterClassification::pRawData[] =
{ ocPercentrank, {{ Reference, Value, Value }, 0, Value }},
{ ocPercentrank_Exc, {{ Reference, Value, Value }, 0, Value }},
{ ocPercentrank_Inc, {{ Reference, Value, Value }, 0, Value }},
+ { ocPi, {{ Bounds }, 0, Value }},
{ ocPow, {{ Array, Array }, 0, Value }},
{ ocPower, {{ Array, Array }, 0, Value }},
{ ocProb, {{ ForceArray, ForceArray, Value, Value }, 0, Value }},
@@ -214,6 +220,7 @@ const ScParameterClassification::RawData ScParameterClassification::pRawData[] =
{ ocQuartile_Exc, {{ Reference, Value }, 0, Value }},
{ ocQuartile_Inc, {{ Reference, Value }, 0, Value }},
{ ocRSQ, {{ ForceArray, ForceArray }, 0, Value }},
+ { ocRandom, {{ Bounds }, 0, Value }},
{ ocRange, {{ Reference, Reference }, 0, Reference }},
{ ocRank, {{ Value, Reference, Value }, 0, Value }},
{ ocRank_Avg, {{ Value, Reference, Value }, 0, Value }},
@@ -247,6 +254,7 @@ const ScParameterClassification::RawData ScParameterClassification::pRawData[] =
{ ocTextJoin_MS, {{ Reference, Value, Reference }, 1, Value }},
{ ocTrend, {{ Reference, Reference, Reference, Value }, 0, Value }},
{ ocTrimMean, {{ Reference, Value }, 0, Value }},
+ { ocTrue, {{ Bounds }, 0, Value }},
{ ocUnion, {{ Reference, Reference }, 0, Reference }},
{ ocVLookup, {{ Value, ReferenceOrForceArray, Value, Value }, 0, Value }},
{ ocVar, {{ ReferenceOrRefArray }, 1, Value }},
More information about the Libreoffice-commits
mailing list