summaryrefslogtreecommitdiff
path: root/include/formula
diff options
context:
space:
mode:
Diffstat (limited to 'include/formula')
-rw-r--r--include/formula/compiler.hxx2
-rw-r--r--include/formula/opcode.hxx2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/formula/compiler.hxx b/include/formula/compiler.hxx
index 479008dfb1a2..f3187ae95baa 100644
--- a/include/formula/compiler.hxx
+++ b/include/formula/compiler.hxx
@@ -399,7 +399,7 @@
#define SC_OPCODE_ISPMT 386
#define SC_OPCODE_HYPERLINK 387
#define SC_OPCODE_X_LOOKUP 388
-// free: 389
+#define SC_OPCODE_X_MATCH 389
#define SC_OPCODE_GET_PIVOT_DATA 390
#define SC_OPCODE_EUROCONVERT 391
#define SC_OPCODE_NUMBERVALUE 392
diff --git a/include/formula/opcode.hxx b/include/formula/opcode.hxx
index ad056a9b0b50..3c8053ffb1e3 100644
--- a/include/formula/opcode.hxx
+++ b/include/formula/opcode.hxx
@@ -307,6 +307,7 @@ enum OpCode : sal_uInt16
ocIndirect = SC_OPCODE_INDIRECT,
ocAddress = SC_OPCODE_ADDRESS,
ocMatch = SC_OPCODE_MATCH,
+ ocXMatch = SC_OPCODE_X_MATCH,
ocCountEmptyCells = SC_OPCODE_COUNT_EMPTY_CELLS,
ocCountIf = SC_OPCODE_COUNT_IF,
ocSumIf = SC_OPCODE_SUM_IF,
@@ -790,6 +791,7 @@ inline std::string OpCodeEnumToString(OpCode eCode)
case ocIndirect: return "Indirect";
case ocAddress: return "Address";
case ocMatch: return "Match";
+ case ocXMatch: return "XMatch";
case ocCountEmptyCells: return "CountEmptyCells";
case ocCountIf: return "CountIf";
case ocSumIf: return "SumIf";