summaryrefslogtreecommitdiff
path: root/include/formula
diff options
context:
space:
mode:
Diffstat (limited to 'include/formula')
-rw-r--r--include/formula/compiler.hrc2
-rw-r--r--include/formula/opcode.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/formula/compiler.hrc b/include/formula/compiler.hrc
index 7cd6653a6ec9..2d2dd3692c1d 100644
--- a/include/formula/compiler.hrc
+++ b/include/formula/compiler.hrc
@@ -227,7 +227,7 @@
#define SC_OPCODE_AVERAGE 226
#define SC_OPCODE_COUNT 227
#define SC_OPCODE_COUNT_2 228
-#define SC_OPCODE_NBW 229
+#define SC_OPCODE_NPV 229
#define SC_OPCODE_IRR 230
#define SC_OPCODE_VAR 231
#define SC_OPCODE_VAR_P 232
diff --git a/include/formula/opcode.hxx b/include/formula/opcode.hxx
index 43f24677073f..a282dae5be99 100644
--- a/include/formula/opcode.hxx
+++ b/include/formula/opcode.hxx
@@ -220,7 +220,7 @@ enum OpCode : sal_uInt16
ocAverage = SC_OPCODE_AVERAGE,
ocCount = SC_OPCODE_COUNT,
ocCount2 = SC_OPCODE_COUNT_2,
- ocNPV = SC_OPCODE_NBW,
+ ocNPV = SC_OPCODE_NPV,
ocIRR = SC_OPCODE_IRR,
ocMIRR = SC_OPCODE_MIRR,
ocISPMT = SC_OPCODE_ISPMT,