summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorLaurent Charrière <lcharriere@gmail.com>2015-01-09 14:07:30 +0100
committerEike Rathke <erack@redhat.com>2015-01-14 19:50:22 +0000
commitb08f87b62db81b498ea71e5e1049b96e3dc42da4 (patch)
treef3e17ba0432463e0853b9ca4a873d57d0a030a33 /sc
parent97507ca728376e74c1092f8eccf431bd49cd4368 (diff)
fdo#85818: rename ZW to FV
Change-Id: I464cba72153ef70bbb14bf43a448a28d02095728 Reviewed-on: https://gerrit.libreoffice.org/13868 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/inc/interpre.hxx2
-rw-r--r--sc/source/core/opencl/formulagroupcl.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/token.cxx2
-rw-r--r--sc/source/filter/excel/xlformula.cxx2
-rw-r--r--sc/source/filter/lotus/lotform.cxx4
-rw-r--r--sc/source/filter/qpro/qproform.cxx2
-rw-r--r--sc/source/ui/src/scfuncs.src4
9 files changed, 11 insertions, 11 deletions
diff --git a/sc/source/core/inc/interpre.hxx b/sc/source/core/inc/interpre.hxx
index d7710edb35c6..3ae3fb67c7d8 100644
--- a/sc/source/core/inc/interpre.hxx
+++ b/sc/source/core/inc/interpre.hxx
@@ -679,7 +679,7 @@ void ScPMT();
void ScRRI();
double ScGetZw(double fZins, double fZzr, double fRmz,
double fBw, double fF);
-void ScZW();
+void ScFV();
void ScZZR();
bool RateIteration(double fNper, double fPayment, double fPv,
double fFv, double fPayType, double& fGuess);
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index 581bd24ac162..22a59863df1d 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -2706,7 +2706,7 @@ DynamicKernelSoPArguments::DynamicKernelSoPArguments(
mvSubArguments.push_back(SoPHelper(ts,
ft->Children[i], new OpDDB, nResultSize));
break;
- case ocZW:
+ case ocFV:
mvSubArguments.push_back(SoPHelper(ts,
ft->Children[i], new OpFV, nResultSize));
break;
diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx
index fa840ff517d3..f7224ae8e237 100644
--- a/sc/source/core/tool/interpr2.cxx
+++ b/sc/source/core/tool/interpr2.cxx
@@ -1510,7 +1510,7 @@ double ScInterpreter::ScGetZw(double fInterest, double fZzr, double fRmz,
return -fZw;
}
-void ScInterpreter::ScZW()
+void ScInterpreter::ScFV()
{
double nInterest, nZzr, nRmz, nBw = 0, nFlag = 0;
nFuncFmtType = NUMBERFORMAT_CURRENCY;
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index b276bf904195..0cdc0519430f 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -4036,7 +4036,7 @@ StackVar ScInterpreter::Interpret()
case ocRow : ScRow(); break;
case ocTable : ScTable(); break;
case ocRRI : ScRRI(); break;
- case ocZW : ScZW(); break;
+ case ocFV : ScFV(); break;
case ocZZR : ScZZR(); break;
case ocRate : ScRate(); break;
case ocFilterXML : ScFilterXML(); break;
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index 0e6e3113fbb1..8b4925bccd5d 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -1202,7 +1202,7 @@ void ScTokenArray::CheckToken( const FormulaToken& r )
case ocWeibull:
case ocMedian:
case ocDDB:
- case ocZW:
+ case ocFV:
case ocVBD:
case ocKurt:
case ocZZR:
diff --git a/sc/source/filter/excel/xlformula.cxx b/sc/source/filter/excel/xlformula.cxx
index e4d28491c9cb..9742a538311c 100644
--- a/sc/source/filter/excel/xlformula.cxx
+++ b/sc/source/filter/excel/xlformula.cxx
@@ -135,7 +135,7 @@ static const XclFunctionInfo saFuncTable_2[] =
{ ocRKP, 51, 1, 2, A, { RA, RA, C, C }, 0, 0 },
{ ocGrowth, 52, 1, 3, A, { RA, RA, RA, C }, 0, 0 },
{ ocPV, 56, 3, 5, V, { VR }, 0, 0 },
- { ocZW, 57, 3, 5, V, { VR }, 0, 0 },
+ { ocFV, 57, 3, 5, V, { VR }, 0, 0 },
{ ocZZR, 58, 3, 5, V, { VR }, 0, 0 },
{ ocPMT, 59, 3, 5, V, { VR }, 0, 0 },
{ ocRate, 60, 3, 6, V, { VR }, 0, 0 },
diff --git a/sc/source/filter/lotus/lotform.cxx b/sc/source/filter/lotus/lotform.cxx
index 60b874a384bd..cc7f2b23fe6b 100644
--- a/sc/source/filter/lotus/lotform.cxx
+++ b/sc/source/filter/lotus/lotform.cxx
@@ -984,7 +984,7 @@ DefTokenId LotusToSc::IndexToToken( sal_uInt8 nIndex )
ocGetActDate, // 55 Today
ocPMT, // 56 Payment
ocPV, // 57 Present Value
- ocZW, // 58 Future Value
+ ocFV, // 58 Future Value
ocIf, // 59 If ... then ... else ...
ocGetDay, // 60 Day of month
ocGetMonth, // 61 Month
@@ -1513,7 +1513,7 @@ DefTokenId LotusToSc::IndexToTokenWK123( sal_uInt8 nIndex )
ocGetActDate, // 55 Today
ocPMT, // 56 Payment
ocPV, // 57 Present Value
- ocZW, // 58 Future Value
+ ocFV, // 58 Future Value
ocIf, // 59 If... then... else...
ocGetDay, // 60 Day of Month
ocGetMonth, // 61 Month
diff --git a/sc/source/filter/qpro/qproform.cxx b/sc/source/filter/qpro/qproform.cxx
index 3121eb262e5e..1aae32125cab 100644
--- a/sc/source/filter/qpro/qproform.cxx
+++ b/sc/source/filter/qpro/qproform.cxx
@@ -500,7 +500,7 @@ static const struct
{ ocDBVarP, FT_FuncVar },
{ ocPV, FT_FuncFix3 }, // QPro Pval
{ ocPMT, FT_FuncFix5 }, // QPro Paymt
- { ocZW, FT_FuncFix3 }, // QPro Fval // 0x80
+ { ocFV, FT_FuncFix3 }, // QPro Fval // 0x80
{ ocZZR, FT_FuncFix5 },
{ ocRate, FT_FuncFix5 },
{ ocIpmt, FT_FuncFix4 },
diff --git a/sc/source/ui/src/scfuncs.src b/sc/source/ui/src/scfuncs.src
index d6950dc9c798..dad0a043b1fd 100644
--- a/sc/source/ui/src/scfuncs.src
+++ b/sc/source/ui/src/scfuncs.src
@@ -1220,8 +1220,8 @@ Resource RID_SC_FUNCTION_DESCRIPTIONS1
Text [ en-US ] = "Type = 1 denotes due at the beginning of the period, = 0 at the end." ;
};
};
- // -=*# Resource for function ZW #*=-
- Resource SC_OPCODE_ZW
+ // -=*# Resource for function FV #*=-
+ Resource SC_OPCODE_FV
{
String 1 // Description
{