summaryrefslogtreecommitdiff
path: root/sc/source/core/tool
diff options
context:
space:
mode:
authorLaurent Charrière <lcharriere@gmail.com>2015-01-09 13:43:55 +0100
committerNoel Grandin <noelgrandin@gmail.com>2015-01-12 06:55:37 +0000
commit92cef7eb344c9c9c7a6aa1489845a1b0eb346ead (patch)
treebacb8be282c68510c5df1361fa97b94da982b369 /sc/source/core/tool
parentc6d3405d9cf75adc8ae9f8b2cca2dfd2c9de7d7d (diff)
fdo#85818: rename ZGZ to RRI
Change-Id: Ifeb513eba762f881dd4ea7cd7fc531fe5028106d Reviewed-on: https://gerrit.libreoffice.org/13831 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source/core/tool')
-rw-r--r--sc/source/core/tool/compiler.cxx2
-rw-r--r--sc/source/core/tool/interpr2.cxx2
-rw-r--r--sc/source/core/tool/interpr4.cxx2
-rw-r--r--sc/source/core/tool/parclass.cxx2
-rw-r--r--sc/source/core/tool/token.cxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 9ae147412470..4ac0951f5820 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -2448,7 +2448,7 @@ bool ScCompiler::IsOpCode( const OUString& rName, bool bInArray )
{ "B", ocB }, // B -> BINOM.DIST.RANGE
{ "TDIST", ocTDist }, // TDIST -> LEGACY.TDIST
{ "EASTERSUNDAY", ocEasterSunday }, // EASTERSUNDAY -> ORG.OPENOFFICE.EASTERSUNDAY
- { "ZGZ", ocZGZ }, // ZGZ -> RRI
+ { "ZGZ", ocRRI }, // ZGZ -> RRI
{ "COLOR", ocColor }, // COLOR -> ORG.LIBREOFFICE.COLOR
{ "GOALSEEK", ocBackSolver } // GOALSEEK -> ORG.OPENOFFICE.GOALSEEK
// Renamed new names, prepare to read future names:
diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx
index 5a62b449e326..038e679e78f4 100644
--- a/sc/source/core/tool/interpr2.cxx
+++ b/sc/source/core/tool/interpr2.cxx
@@ -1481,7 +1481,7 @@ void ScInterpreter::ScPMT()
PushDouble(ScGetRmz(nInterest, nZzr, nBw, nZw, nFlag));
}
-void ScInterpreter::ScZGZ()
+void ScInterpreter::ScRRI()
{
nFuncFmtType = NUMBERFORMAT_PERCENT;
if ( MustHaveParamCount( GetByte(), 3 ) )
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index ea532ae5aaf6..ff4639e1f22a 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -4035,7 +4035,7 @@ StackVar ScInterpreter::Interpret()
case ocColumn : ScColumn(); break;
case ocRow : ScRow(); break;
case ocTable : ScTable(); break;
- case ocZGZ : ScZGZ(); break;
+ case ocRRI : ScRRI(); break;
case ocZW : ScZW(); break;
case ocZZR : ScZZR(); break;
case ocRate : ScRate(); break;
diff --git a/sc/source/core/tool/parclass.cxx b/sc/source/core/tool/parclass.cxx
index 2ebdfdf3ffe8..b066c5c1744f 100644
--- a/sc/source/core/tool/parclass.cxx
+++ b/sc/source/core/tool/parclass.cxx
@@ -586,7 +586,7 @@ void ScParameterClassification::GenerateDocumentation()
aStr.append(')');
switch ( eOp )
{
- case ocZGZ:
+ case ocRRI:
aStr.append(" // RRI in English resource, but ZGZ in English-only section");
break;
case ocMultiArea:
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index 8d01d042f060..072af240cfc2 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -1172,7 +1172,7 @@ void ScTokenArray::CheckToken( const FormulaToken& r )
case ocMIRR:
case ocPMT:
case ocRate:
- case ocZGZ:
+ case ocRRI:
case ocPpmt:
case ocFisher:
case ocFisherInv: