[Libreoffice-commits] core.git: include/formula

Eike Rathke erack at redhat.com
Wed Aug 14 12:25:18 PDT 2013


 include/formula/compiler.hrc |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

New commits:
commit 084ac2bfcb37a15d16abfca9e13db3829f89a28e
Author: Eike Rathke <erack at redhat.com>
Date:   Wed Aug 14 21:23:01 2013 +0200

    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

diff --git a/include/formula/compiler.hrc b/include/formula/compiler.hrc
index 91a3d3f..092a093 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


More information about the Libreoffice-commits mailing list