summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 fcf7326d3e0f..479008dfb1a2 100644
--- a/include/formula/compiler.hxx
+++ b/include/formula/compiler.hxx
@@ -398,7 +398,7 @@
#define SC_OPCODE_CELL 385
#define SC_OPCODE_ISPMT 386
#define SC_OPCODE_HYPERLINK 387
-// free: 388
+#define SC_OPCODE_X_LOOKUP 388
// free: 389
#define SC_OPCODE_GET_PIVOT_DATA 390
#define SC_OPCODE_EUROCONVERT 391
diff --git a/include/formula/opcode.hxx b/include/formula/opcode.hxx
index d92ae0b1d41d..ad056a9b0b50 100644
--- a/include/formula/opcode.hxx
+++ b/include/formula/opcode.hxx
@@ -316,6 +316,7 @@ enum OpCode : sal_uInt16
ocCountIfs = SC_OPCODE_COUNT_IFS,
ocLookup = SC_OPCODE_LOOKUP,
ocVLookup = SC_OPCODE_V_LOOKUP,
+ ocXLookup = SC_OPCODE_X_LOOKUP,
ocHLookup = SC_OPCODE_H_LOOKUP,
ocMultiArea = SC_OPCODE_MULTI_AREA,
ocOffset = SC_OPCODE_OFFSET,
@@ -798,6 +799,7 @@ inline std::string OpCodeEnumToString(OpCode eCode)
case ocCountIfs: return "CountIfs";
case ocLookup: return "Lookup";
case ocVLookup: return "VLookup";
+ case ocXLookup: return "XLookup";
case ocHLookup: return "HLookup";
case ocMultiArea: return "MultiArea";
case ocOffset: return "Offset";