summaryrefslogtreecommitdiff
path: root/formula/inc
diff options
context:
space:
mode:
Diffstat (limited to 'formula/inc')
-rw-r--r--formula/inc/formula/compiler.hrc5
-rw-r--r--formula/inc/formula/opcode.hxx1
2 files changed, 4 insertions, 2 deletions
diff --git a/formula/inc/formula/compiler.hrc b/formula/inc/formula/compiler.hrc
index 6b595ce6766d..9ae1c1850a08 100644
--- a/formula/inc/formula/compiler.hrc
+++ b/formula/inc/formula/compiler.hrc
@@ -392,8 +392,9 @@
#define SC_OPCODE_BITLSHIFT 399
#define SC_OPCODE_GET_DATEDIF 400
#define SC_OPCODE_XOR 401
-#define SC_OPCODE_STOP_2_PAR 402
-#define SC_OPCODE_LAST_OPCODE_ID 402 /* last OpCode */
+#define SC_OPCODE_AVERAGE_IF 402
+#define SC_OPCODE_STOP_2_PAR 403
+#define SC_OPCODE_LAST_OPCODE_ID 403 /* last OpCode */
/*** Internal ***/
#define SC_OPCODE_INTERNAL_BEGIN 9999
diff --git a/formula/inc/formula/opcode.hxx b/formula/inc/formula/opcode.hxx
index 14f862f5c6e0..046d25b752ad 100644
--- a/formula/inc/formula/opcode.hxx
+++ b/formula/inc/formula/opcode.hxx
@@ -274,6 +274,7 @@ enum OpCodeEnum
ocCountEmptyCells = SC_OPCODE_COUNT_EMPTY_CELLS,
ocCountIf = SC_OPCODE_COUNT_IF,
ocSumIf = SC_OPCODE_SUM_IF,
+ ocAverageIf = SC_OPCODE_AVERAGE_IF,
ocLookup = SC_OPCODE_LOOKUP,
ocVLookup = SC_OPCODE_V_LOOKUP,
ocHLookup = SC_OPCODE_H_LOOKUP,