summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-08-14 21:23:01 +0200
committerEike Rathke <erack@redhat.com>2013-08-14 21:24:56 +0200
commit084ac2bfcb37a15d16abfca9e13db3829f89a28e (patch)
treea26a43ba21412c450edb318dda904cd8b2968320
parent6050cf2e100eb18d8638cf61f545ba7a0ec41b69 (diff)
corrected SC_OPCODE_STOP_2_PAR and SC_OPCODE_LAST_OPCODE_ID
0946de1e2fbf8bd5ad3919429f648359d4464eca did not adapt SC_OPCODE_STOP_2_PAR and adapted SC_OPCODE_LAST_OPCODE_ID wrongly; LEFTB, LENB, MIDB and RIGHTB didn't work, didn't show up in the Function Wizard's Structure tab and also weren't saved to .xlsx Change-Id: I8d31c8c931e40d84e265bf80f76352f5a7190377
-rw-r--r--include/formula/compiler.hrc18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/formula/compiler.hrc b/include/formula/compiler.hrc
index 91a3d3f535b6..092a093d820c 100644
--- a/include/formula/compiler.hrc
+++ b/include/formula/compiler.hrc
@@ -402,16 +402,16 @@
#define SC_OPCODE_AVERAGE_IFS 404
#define SC_OPCODE_COUNT_IFS 405
#define SC_OPCODE_SKEWP 406
-#define SC_OPCODE_STOP_2_PAR 407
-#define SC_OPCODE_LENB 408
-#define SC_OPCODE_RIGHTB 409
-#define SC_OPCODE_LEFTB 410
-#define SC_OPCODE_MIDB 412
-#define SC_OPCODE_FILTERXML 413
-#define SC_OPCODE_WEBSERVICE 414
-#define SC_OPCODE_LAST_OPCODE_ID 415 /* last OpCode */
+#define SC_OPCODE_LENB 407
+#define SC_OPCODE_RIGHTB 408
+#define SC_OPCODE_LEFTB 409
+#define SC_OPCODE_MIDB 410
+#define SC_OPCODE_FILTERXML 411
+#define SC_OPCODE_WEBSERVICE 412
-#define SC_OPCODE_STOP_FUNCTION 416
+#define SC_OPCODE_LAST_OPCODE_ID 412 /* last OpCode */
+#define SC_OPCODE_STOP_2_PAR 413 /* last function with two or more parameters' OpCode + 1 */
+#define SC_OPCODE_STOP_FUNCTION 413 /* last function's OpCode + 1 */
/*** Internal ***/
#define SC_OPCODE_INTERNAL_BEGIN 9999