summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLaurent Charrière <lcharriere@gmail.com>2015-01-06 21:10:31 +0100
committerEike Rathke <erack@redhat.com>2015-01-07 02:35:22 +0000
commit1f4fd70495b3d0e732447e8e60e5faa9086471a8 (patch)
tree8e9a513f39b25eb757a8886388c41a1d6763469e /include
parent89a81a6610cf316666291750e7300bcd1a97d062 (diff)
fdo#85818: rename 'Zins' enum name, constant, function to Rate
Rename OcZins to OcRate, SC_OPCODE_ZINS to SC_OPCODE_RATE, ScInterpreter::ScZins() to ScInterpreter::ScRate() (partial fix for fdo#85818, more constants remain to be renamed) Change-Id: Icd5d0df14f2583da7ebd0308dc660abd07f326a4 Reviewed-on: https://gerrit.libreoffice.org/13777 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include')
-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 bd1ad39d7c23..87670828db79 100644
--- a/include/formula/compiler.hrc
+++ b/include/formula/compiler.hrc
@@ -256,7 +256,7 @@
#define SC_OPCODE_ZGZ 256
#define SC_OPCODE_ZW 257
#define SC_OPCODE_ZZR 258
-#define SC_OPCODE_ZINS 259
+#define SC_OPCODE_RATE 259
#define SC_OPCODE_ZINS_Z 260
#define SC_OPCODE_KAPZ 261
#define SC_OPCODE_KUM_ZINS_Z 262
diff --git a/include/formula/opcode.hxx b/include/formula/opcode.hxx
index 0626ed5181db..6ae2788b5d04 100644
--- a/include/formula/opcode.hxx
+++ b/include/formula/opcode.hxx
@@ -260,7 +260,7 @@ enum OpCode : sal_uInt16
ocZGZ = SC_OPCODE_ZGZ,
ocZW = SC_OPCODE_ZW,
ocZZR = SC_OPCODE_ZZR,
- ocZins = SC_OPCODE_ZINS,
+ ocRate = SC_OPCODE_RATE,
ocZinsZ = SC_OPCODE_ZINS_Z,
ocKapz = SC_OPCODE_KAPZ,
ocKumZinsZ = SC_OPCODE_KUM_ZINS_Z,