summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/formula/compiler.hxx3
-rw-r--r--include/formula/opcode.hxx2
2 files changed, 4 insertions, 1 deletions
diff --git a/include/formula/compiler.hxx b/include/formula/compiler.hxx
index 19db1fe9a640..c7a0249c1495 100644
--- a/include/formula/compiler.hxx
+++ b/include/formula/compiler.hxx
@@ -521,7 +521,8 @@
#define SC_OPCODE_TOROW 506
#define SC_OPCODE_UNIQUE 507
#define SC_OPCODE_WRAPCOLS 508
-#define SC_OPCODE_STOP_2_PAR 509 /* last function with two or more parameters' OpCode + 1 */
+#define SC_OPCODE_WRAPROWS 509
+#define SC_OPCODE_STOP_2_PAR 510 /* 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 a5c76a257803..4fbef81cb1b8 100644
--- a/include/formula/opcode.hxx
+++ b/include/formula/opcode.hxx
@@ -517,6 +517,7 @@ enum OpCode : sal_uInt16
ocToRow = SC_OPCODE_TOROW,
ocUnique = SC_OPCODE_UNIQUE,
ocWrapCols = SC_OPCODE_WRAPCOLS,
+ ocWrapRows = SC_OPCODE_WRAPROWS,
// internal stuff
ocInternalBegin = SC_OPCODE_INTERNAL_BEGIN,
ocTTT = SC_OPCODE_TTT,
@@ -1006,6 +1007,7 @@ inline std::string OpCodeEnumToString(OpCode eCode)
case ocUnique: return "Unique";
case ocLet: return "Let";
case ocWrapCols: return "WrapCols";
+ case ocWrapRows: return "WrapRows";
case ocTTT: return "TTT";
case ocDebugVar: return "DebugVar";
case ocDataToken1: return "DataToken1";