diff options
-rw-r--r-- | formula/source/core/api/FormulaCompiler.cxx | 2 | ||||
-rw-r--r-- | formula/source/core/resource/core_resource.src | 8 | ||||
-rw-r--r-- | include/formula/compiler.hrc | 2 | ||||
-rw-r--r-- | include/formula/opcode.hxx | 2 | ||||
-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 |
13 files changed, 18 insertions, 18 deletions
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx index 6d324e24eaa2..ec53ee664fb8 100644 --- a/formula/source/core/api/FormulaCompiler.cxx +++ b/formula/source/core/api/FormulaCompiler.cxx @@ -94,7 +94,7 @@ short lcl_GetRetFormat( OpCode eOpCode ) case ocNPV: case ocPV: case ocSYD: - case ocGDA: + case ocDDB: case ocDB: case ocVBD: case ocLIA: diff --git a/formula/source/core/resource/core_resource.src b/formula/source/core/resource/core_resource.src index 8a653013d1db..6ed8e2d4d1c2 100644 --- a/formula/source/core/resource/core_resource.src +++ b/formula/source/core/resource/core_resource.src @@ -212,7 +212,7 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH_ODFF String SC_OPCODE_PERMUTATION_A { Text = "PERMUTATIONA" ; }; String SC_OPCODE_PV { Text = "PV" ; }; String SC_OPCODE_SYD { Text = "SYD" ; }; - String SC_OPCODE_GDA { Text = "DDB" ; }; + String SC_OPCODE_DDB { Text = "DDB" ; }; String SC_OPCODE_DB { Text = "DB" ; }; String SC_OPCODE_VBD { Text = "VDB" ; }; String SC_OPCODE_DURATION { Text = "PDURATION" ; }; @@ -619,7 +619,7 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH_OOXML String SC_OPCODE_PERMUTATION_A { Text = "_xlfn.PERMUTATIONA" ; }; String SC_OPCODE_PV { Text = "PV" ; }; String SC_OPCODE_SYD { Text = "SYD" ; }; - String SC_OPCODE_GDA { Text = "DDB" ; }; + String SC_OPCODE_DDB { Text = "DDB" ; }; String SC_OPCODE_DB { Text = "DB" ; }; String SC_OPCODE_VBD { Text = "VDB" ; }; String SC_OPCODE_DURATION { Text = "_xlfn.PDURATION" ; }; @@ -1028,7 +1028,7 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH String SC_OPCODE_PERMUTATION_A { Text = "PERMUTATIONA" ; }; String SC_OPCODE_PV { Text = "PV" ; }; String SC_OPCODE_SYD { Text = "SYD" ; }; - String SC_OPCODE_GDA { Text = "DDB" ; }; + String SC_OPCODE_DDB { Text = "DDB" ; }; String SC_OPCODE_DB { Text = "DB" ; }; String SC_OPCODE_VBD { Text = "VDB" ; }; String SC_OPCODE_DURATION { Text = "DURATION" ; }; @@ -1931,7 +1931,7 @@ Resource RID_STRLIST_FUNCTION_NAMES { Text [ en-US ] = "SYD" ; }; - String SC_OPCODE_GDA + String SC_OPCODE_DDB { Text [ en-US ] = "DDB" ; }; diff --git a/include/formula/compiler.hrc b/include/formula/compiler.hrc index 86ff639be784..7e9facbc9cd6 100644 --- a/include/formula/compiler.hrc +++ b/include/formula/compiler.hrc @@ -243,7 +243,7 @@ #define SC_OPCODE_PERMUTATION_A 243 #define SC_OPCODE_PV 244 #define SC_OPCODE_SYD 245 -#define SC_OPCODE_GDA 246 +#define SC_OPCODE_DDB 246 #define SC_OPCODE_DB 247 #define SC_OPCODE_VBD 248 #define SC_OPCODE_DURATION 249 diff --git a/include/formula/opcode.hxx b/include/formula/opcode.hxx index f566507a88b9..2fed5558555a 100644 --- a/include/formula/opcode.hxx +++ b/include/formula/opcode.hxx @@ -247,7 +247,7 @@ enum OpCode : sal_uInt16 ocPermutationA = SC_OPCODE_PERMUTATION_A, ocPV = SC_OPCODE_PV, ocSYD = SC_OPCODE_SYD, - ocGDA = SC_OPCODE_GDA, + ocDDB = SC_OPCODE_DDB, ocDB = SC_OPCODE_DB, ocVBD = SC_OPCODE_VBD, ocDuration = SC_OPCODE_DURATION, diff --git a/sc/source/core/inc/interpre.hxx b/sc/source/core/inc/interpre.hxx index 53615bdf34ea..2e7e32519ef9 100644 --- a/sc/source/core/inc/interpre.hxx +++ b/sc/source/core/inc/interpre.hxx @@ -664,7 +664,7 @@ void ScPV(); void ScSYD(); double ScGetGDA(double fWert, double fRest, double fDauer, double fPeriode, double fFactor); -void ScGDA(); +void ScDDB(); void ScDB(); double ScInterVDB(double fWert,double fRest,double fDauer,double fDauer1, double fPeriode,double fFactor); diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx index 32d9010a9256..1116e969de87 100644 --- a/sc/source/core/opencl/formulagroupcl.cxx +++ b/sc/source/core/opencl/formulagroupcl.cxx @@ -2374,7 +2374,7 @@ DynamicKernelSoPArguments::DynamicKernelSoPArguments( mvSubArguments.push_back(SoPHelper(ts, ft->Children[i],new OpMedian)); break;*/ - case ocGDA: + case ocDDB: mvSubArguments.push_back(SoPHelper(ts, ft->Children[i], new OpDDB, nResultSize)); break; diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx index 48aeab1692c0..78ce44c54e58 100644 --- a/sc/source/core/tool/interpr2.cxx +++ b/sc/source/core/tool/interpr2.cxx @@ -1231,7 +1231,7 @@ double ScInterpreter::ScGetGDA(double fValue, double fRest, double fTimeLength, return fGda; } -void ScInterpreter::ScGDA() +void ScInterpreter::ScDDB() { nFuncFmtType = NUMBERFORMAT_CURRENCY; sal_uInt8 nParamCount = GetByte(); diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx index 9c0ddefda811..27309a7c42a8 100644 --- a/sc/source/core/tool/interpr4.cxx +++ b/sc/source/core/tool/interpr4.cxx @@ -4023,7 +4023,7 @@ StackVar ScInterpreter::Interpret() case ocStDevPA : ScStDevP( true ); break; case ocPV : ScPV(); break; case ocSYD : ScSYD(); break; - case ocGDA : ScGDA(); break; + case ocDDB : ScDDB(); break; case ocDB : ScDB(); break; case ocVBD : ScVDB(); break; case ocDuration : ScDuration(); break; diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx index a491bfd3d82d..7edd0d182a91 100644 --- a/sc/source/core/tool/token.cxx +++ b/sc/source/core/tool/token.cxx @@ -1201,7 +1201,7 @@ void ScTokenArray::CheckToken( const FormulaToken& r ) case ocStandard: case ocWeibull: case ocMedian: - case ocGDA: + case ocDDB: case ocZW: case ocVBD: case ocKurt: diff --git a/sc/source/filter/excel/xlformula.cxx b/sc/source/filter/excel/xlformula.cxx index 25004e492c59..af5ed568b640 100644 --- a/sc/source/filter/excel/xlformula.cxx +++ b/sc/source/filter/excel/xlformula.cxx @@ -191,7 +191,7 @@ static const XclFunctionInfo saFuncTable_2[] = { ocGetTimeValue, 141, 1, 1, V, { VR }, 0, 0 }, { ocLIA, 142, 3, 3, V, { VR }, 0, 0 }, { ocSYD, 143, 4, 4, V, { VR }, 0, 0 }, - { ocGDA, 144, 4, 5, V, { VR }, 0, 0 }, + { ocDDB, 144, 4, 5, V, { VR }, 0, 0 }, { ocIndirect, 148, 1, 2, R, { VR }, EXC_FUNCFLAG_VOLATILE, 0 }, { ocClean, 162, 1, 1, V, { VR }, 0, 0 }, { ocMatDet, 163, 1, 1, V, { VA }, 0, 0 }, diff --git a/sc/source/filter/lotus/lotform.cxx b/sc/source/filter/lotus/lotform.cxx index 303919d22f81..c2dd7a75841b 100644 --- a/sc/source/filter/lotus/lotform.cxx +++ b/sc/source/filter/lotus/lotform.cxx @@ -1047,7 +1047,7 @@ DefTokenId LotusToSc::IndexToToken( sal_uInt8 nIndex ) ocNoName, // 118 Cterm() ocLIA, // 119 Sln() ocSYD, // 120 Syd(), Soy() - ocGDA, // 121 Ddb() + ocDDB, // 121 Ddb() ocNoName, // 122 ocNoName, // 123 ocNoName, // 124 @@ -1576,7 +1576,7 @@ DefTokenId LotusToSc::IndexToTokenWK123( sal_uInt8 nIndex ) ocNoName, // 118 Cterm() ocLIA, // 119 Sln() ocSYD, // 120 Syd(), Soy() - ocGDA, // 121 Ddb() + ocDDB, // 121 Ddb() ocNoName, // 122 Splfunc ocNoName, // 123 Sheets ocNoName, // 124 Info diff --git a/sc/source/filter/qpro/qproform.cxx b/sc/source/filter/qpro/qproform.cxx index 7e02a363011b..bde978e96eb6 100644 --- a/sc/source/filter/qpro/qproform.cxx +++ b/sc/source/filter/qpro/qproform.cxx @@ -493,7 +493,7 @@ static const struct { ocNoName, FT_NotImpl }, { ocLIA, FT_FuncFix3 }, { ocSYD, FT_FuncFix4 }, - { ocGDA, FT_FuncFix4 }, + { ocDDB, FT_FuncFix4 }, { ocStDevP, FT_FuncVar }, { ocVarP, FT_FuncVar }, { ocDBStdDevP, FT_FuncVar }, diff --git a/sc/source/ui/src/scfuncs.src b/sc/source/ui/src/scfuncs.src index bb65b456f024..24ff46f2b793 100644 --- a/sc/source/ui/src/scfuncs.src +++ b/sc/source/ui/src/scfuncs.src @@ -1796,8 +1796,8 @@ Resource RID_SC_FUNCTION_DESCRIPTIONS1 Text [ en-US ] = "Useful life. The number of periods in the useful life of the asset." ; }; }; - // -=*# Resource for function GDA #*=- - Resource SC_OPCODE_GDA + // -=*# Resource for function DDB #*=- + Resource SC_OPCODE_DDB { String 1 // Description { |