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

Eike Rathke erack at redhat.com
Wed Aug 14 13:36:35 PDT 2013


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

New commits:
commit efdefd379406cd414ef0901d7aeaaa4f032cf52d
Author: Eike Rathke <erack at redhat.com>
Date:   Wed Aug 14 22:34:58 2013 +0200

    make this less error prone
    
    Change-Id: Ic349d1db5f63b0a2b6ba19eece630d831a912292

diff --git a/include/formula/compiler.hrc b/include/formula/compiler.hrc
index 092a093..b53b825 100644
--- a/include/formula/compiler.hrc
+++ b/include/formula/compiler.hrc
@@ -409,9 +409,9 @@
 #define SC_OPCODE_FILTERXML         411
 #define SC_OPCODE_WEBSERVICE        412
 
-#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 */
+#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 */
 
 /*** Internal ***/
 #define SC_OPCODE_INTERNAL_BEGIN   9999


More information about the Libreoffice-commits mailing list