diff options
author | Winfried Donkers <winfrieddonkers@libreoffice.org> | 2013-10-29 17:30:42 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-10-30 17:54:28 +0000 |
commit | 781363934af5c0ff3401161c385c6c93c9352c2c (patch) | |
tree | 031226875d06e73f7d62d71dba9e08cf43b5e8ad /include | |
parent | 83397d0415f248bb61829b13eb7c6364d7a71508 (diff) |
fdo#61002 add Excel 2010 functions VAR.P and VAR.S
Change-Id: I23f286eaaef79d196a65e8079b62cf577539e9f1
Reviewed-on: https://gerrit.libreoffice.org/6477
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/formula/compiler.hrc | 4 | ||||
-rw-r--r-- | include/formula/opcode.hxx | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/include/formula/compiler.hrc b/include/formula/compiler.hrc index bb8090007a8a..b9b4f7a40bb7 100644 --- a/include/formula/compiler.hrc +++ b/include/formula/compiler.hrc @@ -412,8 +412,10 @@ #define SC_OPCODE_COVARIANCE_P 414 #define SC_OPCODE_ST_DEV_P_MS 415 #define SC_OPCODE_ST_DEV_S 416 +#define SC_OPCODE_VAR_P_MS 417 +#define SC_OPCODE_VAR_S 418 -#define SC_OPCODE_STOP_2_PAR 417 /* last function with two or more parameters' OpCode + 1 */ +#define SC_OPCODE_STOP_2_PAR 419 /* 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 79b229c70755..6dd28d3967ce 100644 --- a/include/formula/opcode.hxx +++ b/include/formula/opcode.hxx @@ -220,6 +220,8 @@ enum OpCodeEnum ocISPMT = SC_OPCODE_ISPMT, ocVar = SC_OPCODE_VAR, ocVarP = SC_OPCODE_VAR_P, + ocVarP_MS = SC_OPCODE_VAR_P_MS, + ocVarS = SC_OPCODE_VAR_S, ocStDev = SC_OPCODE_ST_DEV, ocStDevP = SC_OPCODE_ST_DEV_P, ocStDevP_MS = SC_OPCODE_ST_DEV_P_MS, |