From 41a85500a70533e1c9791c3a4f8b6c24f2143682 Mon Sep 17 00:00:00 2001 From: Winfried Donkers Date: Mon, 4 Sep 2017 16:00:59 +0200 Subject: tdf#107135 Add missing ODFF function SEARCHB. Change-Id: Ic72693ad8f33fb94c171751f82680eabad1d3d6d Reviewed-on: https://gerrit.libreoffice.org/41900 Tested-by: Jenkins Reviewed-by: Eike Rathke --- include/formula/compiler.hxx | 3 ++- include/formula/opcode.hxx | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include/formula') diff --git a/include/formula/compiler.hxx b/include/formula/compiler.hxx index e4b646d48f16..a1ebabe04874 100644 --- a/include/formula/compiler.hxx +++ b/include/formula/compiler.hxx @@ -504,7 +504,8 @@ #define SC_OPCODE_ROUNDSIG 493 #define SC_OPCODE_REPLACEB 494 #define SC_OPCODE_FINDB 495 -#define SC_OPCODE_STOP_2_PAR 496 /* last function with two or more parameters' OpCode + 1 */ +#define SC_OPCODE_SEARCHB 496 +#define SC_OPCODE_STOP_2_PAR 497 /* 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 dd0492db6caa..181de360864e 100644 --- a/include/formula/opcode.hxx +++ b/include/formula/opcode.hxx @@ -342,6 +342,7 @@ enum OpCode : sal_uInt16 ocMidB = SC_OPCODE_MIDB, ocReplaceB = SC_OPCODE_REPLACEB, ocFindB = SC_OPCODE_FINDB, + ocSearchB = SC_OPCODE_SEARCHB, ocNumberValue = SC_OPCODE_NUMBERVALUE, // Matrix functions ocMatValue = SC_OPCODE_MAT_VALUE, -- cgit