diff options
author | Winfried Donkers <winfrieddonkers@libreoffice.org> | 2017-07-05 17:07:08 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-07-10 15:13:37 +0200 |
commit | c9f6bd6a714b634c1f366a525cc3571116c3f9f5 (patch) | |
tree | 297523f184425a522d7bf37904356cfe0c846bdf /include | |
parent | 963a49a4684d1f012c547bb7a626c394abc27dcc (diff) |
tdf#107135, add missing ODFF function REPLACEB.
Change-Id: I8d782b109eb390838b6c4f3a85e9b344ecef87ec
Reviewed-on: https://gerrit.libreoffice.org/39606
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/formula/compiler.hrc | 3 | ||||
-rw-r--r-- | include/formula/opcode.hxx | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/formula/compiler.hrc b/include/formula/compiler.hrc index 12fa1c482636..4f625f589cbc 100644 --- a/include/formula/compiler.hrc +++ b/include/formula/compiler.hrc @@ -502,7 +502,8 @@ #define SC_OPCODE_MINIFS_MS 491 #define SC_OPCODE_MAXIFS_MS 492 #define SC_OPCODE_ROUNDSIG 493 -#define SC_OPCODE_STOP_2_PAR 494 /* last function with two or more parameters' OpCode + 1 */ +#define SC_OPCODE_REPLACEB 494 +#define SC_OPCODE_STOP_2_PAR 495 /* last function with two or more parameters' 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 */ diff --git a/include/formula/opcode.hxx b/include/formula/opcode.hxx index 9aa19d2f5d81..90223b141b7f 100644 --- a/include/formula/opcode.hxx +++ b/include/formula/opcode.hxx @@ -340,6 +340,7 @@ enum OpCode : sal_uInt16 ocRightB = SC_OPCODE_RIGHTB, ocLeftB = SC_OPCODE_LEFTB, ocMidB = SC_OPCODE_MIDB, + ocReplaceB = SC_OPCODE_REPLACEB, ocNumberValue = SC_OPCODE_NUMBERVALUE, // Matrix functions ocMatValue = SC_OPCODE_MAT_VALUE, |