diff options
author | Laurent Charrière <lcharriere@gmail.com> | 2015-01-09 11:36:49 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-01-12 06:51:35 +0000 |
commit | 8416ac2b532673f2b64be102d77c805fe5e81720 (patch) | |
tree | 63032e141889538dcd35206865edf9bad1373c44 /sc/source | |
parent | c7d23291ea9ae7a3a2c055b09fce9c29bb7f58d3 (diff) |
fdo#85818: rename BW to PV
Change-Id: I3b319a4074c549daaa1d6befaca79dab93e61df6
Reviewed-on: https://gerrit.libreoffice.org/13824
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/inc/interpre.hxx | 2 | ||||
-rw-r--r-- | sc/source/core/opencl/formulagroupcl.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/tool/interpr2.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/tool/interpr4.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/tool/token.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/excel/xlformula.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/lotus/lotform.cxx | 4 | ||||
-rw-r--r-- | sc/source/filter/qpro/qproform.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/src/scfuncs.src | 4 |
9 files changed, 11 insertions, 11 deletions
diff --git a/sc/source/core/inc/interpre.hxx b/sc/source/core/inc/interpre.hxx index bc57d19b67ee..2cf46e86ff83 100644 --- a/sc/source/core/inc/interpre.hxx +++ b/sc/source/core/inc/interpre.hxx @@ -660,7 +660,7 @@ void ScISPMT(); double ScGetBw(double fZins, double fZzr, double fRmz, double fZw, double fF); -void ScBW(); +void ScPV(); void ScDIA(); double ScGetGDA(double fWert, double fRest, double fDauer, double fPeriode, double fFactor); diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx index 72cf96685d7d..859327dd0991 100644 --- a/sc/source/core/opencl/formulagroupcl.cxx +++ b/sc/source/core/opencl/formulagroupcl.cxx @@ -2346,7 +2346,7 @@ DynamicKernelSoPArguments::DynamicKernelSoPArguments( mvSubArguments.push_back(SoPHelper(ts, ft->Children[i], new OpAbs, nResultSize)); break; - case ocBW: + case ocPV: mvSubArguments.push_back(SoPHelper(ts, ft->Children[i], new OpPV, nResultSize)); break; diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx index b90e0566df7b..81b33d24a8c3 100644 --- a/sc/source/core/tool/interpr2.cxx +++ b/sc/source/core/tool/interpr2.cxx @@ -1173,7 +1173,7 @@ double ScInterpreter::ScGetBw(double fInterest, double fZzr, double fRmz, return -fBw; } -void ScInterpreter::ScBW() +void ScInterpreter::ScPV() { nFuncFmtType = NUMBERFORMAT_CURRENCY; double nRmz, nZzr, nInterest, nZw = 0, nFlag = 0; diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx index 1b7f50cc75a9..51df509cad9d 100644 --- a/sc/source/core/tool/interpr4.cxx +++ b/sc/source/core/tool/interpr4.cxx @@ -4021,7 +4021,7 @@ StackVar ScInterpreter::Interpret() case ocStDevP : case ocStDevP_MS : ScStDevP( false ); break; case ocStDevPA : ScStDevP( true ); break; - case ocBW : ScBW(); break; + case ocPV : ScPV(); break; case ocDIA : ScDIA(); break; case ocGDA : ScGDA(); break; case ocGDA2 : ScGDA2(); break; diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx index e8bfe415b4a3..7cf89883e56d 100644 --- a/sc/source/core/tool/token.cxx +++ b/sc/source/core/tool/token.cxx @@ -1194,7 +1194,7 @@ void ScTokenArray::CheckToken( const FormulaToken& r ) case ocLaufz: case ocSinHyp: case ocAbs: - case ocBW: + case ocPV: case ocSin: case ocTan: case ocTanHyp: diff --git a/sc/source/filter/excel/xlformula.cxx b/sc/source/filter/excel/xlformula.cxx index 699d9fb4dbc4..2fed0b555f19 100644 --- a/sc/source/filter/excel/xlformula.cxx +++ b/sc/source/filter/excel/xlformula.cxx @@ -134,7 +134,7 @@ static const XclFunctionInfo saFuncTable_2[] = { ocTrend, 50, 1, 3, A, { RA, RA, RA, C }, 0, 0 }, { ocRKP, 51, 1, 2, A, { RA, RA, C, C }, 0, 0 }, { ocGrowth, 52, 1, 3, A, { RA, RA, RA, C }, 0, 0 }, - { ocBW, 56, 3, 5, V, { VR }, 0, 0 }, + { ocPV, 56, 3, 5, V, { VR }, 0, 0 }, { ocZW, 57, 3, 5, V, { VR }, 0, 0 }, { ocZZR, 58, 3, 5, V, { VR }, 0, 0 }, { ocRMZ, 59, 3, 5, V, { VR }, 0, 0 }, diff --git a/sc/source/filter/lotus/lotform.cxx b/sc/source/filter/lotus/lotform.cxx index 7faf36397a1a..9b048482d744 100644 --- a/sc/source/filter/lotus/lotform.cxx +++ b/sc/source/filter/lotus/lotform.cxx @@ -983,7 +983,7 @@ DefTokenId LotusToSc::IndexToToken( sal_uInt8 nIndex ) ocGetDate, // 54 Date ocGetActDate, // 55 Today ocRMZ, // 56 Payment - ocBW, // 57 Present Value + ocPV, // 57 Present Value ocZW, // 58 Future Value ocIf, // 59 If ... then ... else ... ocGetDay, // 60 Day of month @@ -1512,7 +1512,7 @@ DefTokenId LotusToSc::IndexToTokenWK123( sal_uInt8 nIndex ) ocGetDate, // 54 Date ocGetActDate, // 55 Today ocRMZ, // 56 Payment - ocBW, // 57 Present Value + ocPV, // 57 Present Value ocZW, // 58 Future Value ocIf, // 59 If... then... else... ocGetDay, // 60 Day of Month diff --git a/sc/source/filter/qpro/qproform.cxx b/sc/source/filter/qpro/qproform.cxx index 32c2dc231fce..bdd6f34ec8b2 100644 --- a/sc/source/filter/qpro/qproform.cxx +++ b/sc/source/filter/qpro/qproform.cxx @@ -498,7 +498,7 @@ static const struct { ocVarP, FT_FuncVar }, { ocDBStdDevP, FT_FuncVar }, { ocDBVarP, FT_FuncVar }, - { ocBW, FT_FuncFix3 }, // QPro Pval + { ocPV, FT_FuncFix3 }, // QPro Pval { ocRMZ, FT_FuncFix5 }, // QPro Paymt { ocZW, FT_FuncFix3 }, // QPro Fval // 0x80 { ocZZR, FT_FuncFix5 }, diff --git a/sc/source/ui/src/scfuncs.src b/sc/source/ui/src/scfuncs.src index efa107ef9f52..fd54ccd6d27f 100644 --- a/sc/source/ui/src/scfuncs.src +++ b/sc/source/ui/src/scfuncs.src @@ -1164,8 +1164,8 @@ Resource RID_SC_FUNCTION_DESCRIPTIONS1 Text [ en-US ] = "An integer between 1583 and 9956, or 0 and 99 (19xx or 20xx depending on the option set)."; }; }; - // -=*# Resource for function BW #*=- - Resource SC_OPCODE_BW + // -=*# Resource for function PV #*=- + Resource SC_OPCODE_PV { String 1 // Description { |