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 /formula | |
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 'formula')
-rw-r--r-- | formula/source/core/api/FormulaCompiler.cxx | 2 | ||||
-rw-r--r-- | formula/source/core/api/token.cxx | 2 | ||||
-rw-r--r-- | formula/source/core/resource/core_resource.src | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx index de527e48801d..858fe064a9e3 100644 --- a/formula/source/core/api/FormulaCompiler.cxx +++ b/formula/source/core/api/FormulaCompiler.cxx @@ -92,7 +92,7 @@ short lcl_GetRetFormat( OpCode eOpCode ) case ocGetTime: return NUMBERFORMAT_TIME; case ocNPV: - case ocBW: + case ocPV: case ocDIA: case ocGDA: case ocGDA2: diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx index 3b16cc369e4a..c6f4a2f0e9dc 100644 --- a/formula/source/core/api/token.cxx +++ b/formula/source/core/api/token.cxx @@ -1259,7 +1259,7 @@ bool FormulaMissingContext::AddMissing( FormulaTokenArray *pNewArr, const Missin case ocIpmt: case ocPpmt: return AddDefaultArg( pNewArr, 4, 0.0 ); - case ocBW: // PV + case ocPV: case ocZW: // FV bRet |= AddDefaultArg( pNewArr, 2, 0.0 ); // pmt bRet |= AddDefaultArg( pNewArr, 3, 0.0 ); // [fp]v diff --git a/formula/source/core/resource/core_resource.src b/formula/source/core/resource/core_resource.src index a5bf5d8a755f..2434ead23c92 100644 --- a/formula/source/core/resource/core_resource.src +++ b/formula/source/core/resource/core_resource.src @@ -210,7 +210,7 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH_ODFF String SC_OPCODE_COMBIN_A { Text = "COMBINA" ; }; String SC_OPCODE_PERMUT { Text = "PERMUT" ; }; String SC_OPCODE_PERMUTATION_A { Text = "PERMUTATIONA" ; }; - String SC_OPCODE_BW { Text = "PV" ; }; + String SC_OPCODE_PV { Text = "PV" ; }; String SC_OPCODE_DIA { Text = "SYD" ; }; String SC_OPCODE_GDA { Text = "DDB" ; }; String SC_OPCODE_GDA_2 { Text = "DB" ; }; @@ -617,7 +617,7 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH_OOXML String SC_OPCODE_COMBIN_A { Text = "_xlfn.COMBINA" ; }; String SC_OPCODE_PERMUT { Text = "PERMUT" ; }; String SC_OPCODE_PERMUTATION_A { Text = "_xlfn.PERMUTATIONA" ; }; - String SC_OPCODE_BW { Text = "PV" ; }; + String SC_OPCODE_PV { Text = "PV" ; }; String SC_OPCODE_DIA { Text = "SYD" ; }; String SC_OPCODE_GDA { Text = "DDB" ; }; String SC_OPCODE_GDA_2 { Text = "DB" ; }; @@ -1026,7 +1026,7 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH String SC_OPCODE_COMBIN_A { Text = "COMBINA" ; }; String SC_OPCODE_PERMUT { Text = "PERMUT" ; }; String SC_OPCODE_PERMUTATION_A { Text = "PERMUTATIONA" ; }; - String SC_OPCODE_BW { Text = "PV" ; }; + String SC_OPCODE_PV { Text = "PV" ; }; String SC_OPCODE_DIA { Text = "SYD" ; }; String SC_OPCODE_GDA { Text = "DDB" ; }; String SC_OPCODE_GDA_2 { Text = "DB" ; }; @@ -1923,7 +1923,7 @@ Resource RID_STRLIST_FUNCTION_NAMES { Text [ en-US ] = "PERMUTATIONA" ; }; - String SC_OPCODE_BW + String SC_OPCODE_PV { Text [ en-US ] = "PV" ; }; |