summaryrefslogtreecommitdiff
path: root/include/formula
diff options
context:
space:
mode:
Diffstat (limited to 'include/formula')
-rw-r--r--include/formula/compiler.hrc8
-rw-r--r--include/formula/opcode.hxx4
2 files changed, 10 insertions, 2 deletions
diff --git a/include/formula/compiler.hrc b/include/formula/compiler.hrc
index 053947c2a796..e6c6ef3d0df3 100644
--- a/include/formula/compiler.hrc
+++ b/include/formula/compiler.hrc
@@ -403,9 +403,13 @@
#define SC_OPCODE_COUNT_IFS 405
#define SC_OPCODE_SKEWP 406
#define SC_OPCODE_STOP_2_PAR 407
-#define SC_OPCODE_LAST_OPCODE_ID 406 /* last OpCode */
+#define SC_OPCODE_LENB 408
+#define SC_OPCODE_RIGHTB 409
+#define SC_OPCODE_LEFTB 410
+#define SC_OPCODE_MIDB 412
+#define SC_OPCODE_LAST_OPCODE_ID 413 /* last OpCode */
-#define SC_OPCODE_STOP_FUNCTION 407
+#define SC_OPCODE_STOP_FUNCTION 412
/*** Internal ***/
#define SC_OPCODE_INTERNAL_BEGIN 9999
diff --git a/include/formula/opcode.hxx b/include/formula/opcode.hxx
index b94c066a624b..47e2cdc2dff4 100644
--- a/include/formula/opcode.hxx
+++ b/include/formula/opcode.hxx
@@ -301,6 +301,10 @@ enum OpCodeEnum
ocSubstitute = SC_OPCODE_SUBSTITUTE,
ocRept = SC_OPCODE_REPT,
ocConcat = SC_OPCODE_CONCAT,
+ ocLenB = SC_OPCODE_LENB,
+ ocRightB = SC_OPCODE_RIGHTB,
+ ocLeftB = SC_OPCODE_LEFTB,
+ ocMidB = SC_OPCODE_MIDB,
ocNumberValue = SC_OPCODE_NUMBERVALUE,
// Matrix functions
ocMatValue = SC_OPCODE_MAT_VALUE,