summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWinfried Donkers <winfrieddonkers@libreoffice.org>2013-11-09 20:33:13 +0100
committerEike Rathke <erack@redhat.com>2013-11-14 19:03:53 +0000
commit53b2d2ce0c68cd371fb55c8fdbab47a4075bbe8e (patch)
tree469655ae7fac9f07e754bc25b057b4d8d3a6c359 /include
parent663fd49286f67d1bbb7fcccc6672ba7f11401ace (diff)
fdo#71350 add Excel 2010 function CONFIDENCE.NORM and CONFIDENCE.T
Change-Id: I341b0c7a61047627aac1f12bc4653b6f9e65b2e3 Reviewed-on: https://gerrit.libreoffice.org/6625 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/formula/compiler.hrc4
-rw-r--r--include/formula/opcode.hxx2
2 files changed, 5 insertions, 1 deletions
diff --git a/include/formula/compiler.hrc b/include/formula/compiler.hrc
index 92a4cfa3c67c..1cf1c2d44f2f 100644
--- a/include/formula/compiler.hrc
+++ b/include/formula/compiler.hrc
@@ -423,8 +423,10 @@
#define SC_OPCODE_CHI_TEST_MS 425
#define SC_OPCODE_CHISQ_DIST_MS 426
#define SC_OPCODE_CHISQ_INV_MS 427
+#define SC_OPCODE_CONFIDENCE_N 428
+#define SC_OPCODE_CONFIDENCE_T 429
-#define SC_OPCODE_STOP_2_PAR 428 /* last function with two or more parameters' OpCode + 1 */
+#define SC_OPCODE_STOP_2_PAR 430 /* last function with two or more parameters' OpCode + 1 */
#define SC_OPCODE_STOP_FUNCTION SC_OPCODE_STOP_2_PAR /* last function's OpCode + 1 */
#define SC_OPCODE_LAST_OPCODE_ID (SC_OPCODE_STOP_FUNCTION - 1) /* last OpCode */
diff --git a/include/formula/opcode.hxx b/include/formula/opcode.hxx
index 97298cef9c49..75fdb9210972 100644
--- a/include/formula/opcode.hxx
+++ b/include/formula/opcode.hxx
@@ -356,6 +356,8 @@ enum OpCodeEnum
ocQuartile = SC_OPCODE_QUARTILE,
ocNormInv = SC_OPCODE_NORM_INV,
ocConfidence = SC_OPCODE_CONFIDENCE,
+ ocConfidence_N = SC_OPCODE_CONFIDENCE_N,
+ ocConfidence_T = SC_OPCODE_CONFIDENCE_T,
ocFTest = SC_OPCODE_F_TEST,
ocTrimMean = SC_OPCODE_TRIM_MEAN,
ocProb = SC_OPCODE_PROB,