summaryrefslogtreecommitdiff
path: root/include/formula
diff options
context:
space:
mode:
authorWinfried Donkers <winfrieddonkers@libreoffice.org>2017-07-20 15:18:18 +0200
committerEike Rathke <erack@redhat.com>2017-07-25 10:36:41 +0200
commita5ec33c9e108a822f418884ab470a7788de3d0e7 (patch)
tree825e2f103831f22725208e6410a28bf1dd126ee5 /include/formula
parenta542fe8d38811dff152b69796380e1feec7daa28 (diff)
tdf#107135 Add missing ODFF function FINDB.
Change-Id: I96bbca8e6d91448fbb27fe95a57ce62a78d1b2c5 Reviewed-on: https://gerrit.libreoffice.org/40242 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include/formula')
-rw-r--r--include/formula/compiler.hxx3
-rw-r--r--include/formula/opcode.hxx1
2 files changed, 3 insertions, 1 deletions
diff --git a/include/formula/compiler.hxx b/include/formula/compiler.hxx
index 4921dd303330..e4b646d48f16 100644
--- a/include/formula/compiler.hxx
+++ b/include/formula/compiler.hxx
@@ -503,7 +503,8 @@
#define SC_OPCODE_MAXIFS_MS 492
#define SC_OPCODE_ROUNDSIG 493
#define SC_OPCODE_REPLACEB 494
-#define SC_OPCODE_STOP_2_PAR 495 /* last function with two or more parameters' OpCode + 1 */
+#define SC_OPCODE_FINDB 495
+#define SC_OPCODE_STOP_2_PAR 496 /* 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 1258b5824694..dd0492db6caa 100644
--- a/include/formula/opcode.hxx
+++ b/include/formula/opcode.hxx
@@ -341,6 +341,7 @@ enum OpCode : sal_uInt16
ocLeftB = SC_OPCODE_LEFTB,
ocMidB = SC_OPCODE_MIDB,
ocReplaceB = SC_OPCODE_REPLACEB,
+ ocFindB = SC_OPCODE_FINDB,
ocNumberValue = SC_OPCODE_NUMBERVALUE,
// Matrix functions
ocMatValue = SC_OPCODE_MAT_VALUE,