Kaydet (Commit) 4a2fded1 authored tarafından Laurent Charrière's avatar Laurent Charrière Kaydeden (comit) Noel Grandin

fdo#85818: rename GDA2 to DB

Change-Id: I2449645b47918325474109fc090ef34b009f26a8
Reviewed-on: https://gerrit.libreoffice.org/13826Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst b2fcd4f7
......@@ -95,7 +95,7 @@ short lcl_GetRetFormat( OpCode eOpCode )
case ocPV:
case ocSYD:
case ocGDA:
case ocGDA2:
case ocDB:
case ocVBD:
case ocLIA:
case ocRMZ:
......
......@@ -213,7 +213,7 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH_ODFF
String SC_OPCODE_PV { Text = "PV" ; };
String SC_OPCODE_SYD { Text = "SYD" ; };
String SC_OPCODE_GDA { Text = "DDB" ; };
String SC_OPCODE_GDA_2 { Text = "DB" ; };
String SC_OPCODE_DB { Text = "DB" ; };
String SC_OPCODE_VBD { Text = "VDB" ; };
String SC_OPCODE_LAUFZ { Text = "PDURATION" ; };
String SC_OPCODE_LIA { Text = "SLN" ; };
......@@ -620,7 +620,7 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH_OOXML
String SC_OPCODE_PV { Text = "PV" ; };
String SC_OPCODE_SYD { Text = "SYD" ; };
String SC_OPCODE_GDA { Text = "DDB" ; };
String SC_OPCODE_GDA_2 { Text = "DB" ; };
String SC_OPCODE_DB { Text = "DB" ; };
String SC_OPCODE_VBD { Text = "VDB" ; };
String SC_OPCODE_LAUFZ { Text = "_xlfn.PDURATION" ; };
String SC_OPCODE_LIA { Text = "SLN" ; };
......@@ -1029,7 +1029,7 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH
String SC_OPCODE_PV { Text = "PV" ; };
String SC_OPCODE_SYD { Text = "SYD" ; };
String SC_OPCODE_GDA { Text = "DDB" ; };
String SC_OPCODE_GDA_2 { Text = "DB" ; };
String SC_OPCODE_DB { Text = "DB" ; };
String SC_OPCODE_VBD { Text = "VDB" ; };
String SC_OPCODE_LAUFZ { Text = "DURATION" ; };
String SC_OPCODE_LIA { Text = "SLN" ; };
......@@ -1935,7 +1935,7 @@ Resource RID_STRLIST_FUNCTION_NAMES
{
Text [ en-US ] = "DDB" ;
};
String SC_OPCODE_GDA_2
String SC_OPCODE_DB
{
Text [ en-US ] = "DB" ;
};
......
......@@ -244,7 +244,7 @@
#define SC_OPCODE_PV 244
#define SC_OPCODE_SYD 245
#define SC_OPCODE_GDA 246
#define SC_OPCODE_GDA_2 247
#define SC_OPCODE_DB 247
#define SC_OPCODE_VBD 248
#define SC_OPCODE_LAUFZ 249
#define SC_OPCODE_LIA 250
......
......@@ -248,7 +248,7 @@ enum OpCode : sal_uInt16
ocPV = SC_OPCODE_PV,
ocSYD = SC_OPCODE_SYD,
ocGDA = SC_OPCODE_GDA,
ocGDA2 = SC_OPCODE_GDA_2,
ocDB = SC_OPCODE_DB,
ocVBD = SC_OPCODE_VBD,
ocLaufz = SC_OPCODE_LAUFZ,
ocLIA = SC_OPCODE_LIA,
......
......@@ -665,7 +665,7 @@ void ScSYD();
double ScGetGDA(double fWert, double fRest, double fDauer,
double fPeriode, double fFactor);
void ScGDA();
void ScGDA2();
void ScDB();
double ScInterVDB(double fWert,double fRest,double fDauer,double fDauer1,
double fPeriode,double fFactor);
void ScVDB();
......
......@@ -2454,7 +2454,7 @@ DynamicKernelSoPArguments::DynamicKernelSoPArguments(
mvSubArguments.push_back(SoPHelper(ts,
ft->Children[i], new OpIntercept, nResultSize));
break;
case ocGDA2:
case ocDB:
mvSubArguments.push_back(SoPHelper(ts, ft->Children[i],
new OpDB, nResultSize));
break;
......
......@@ -1254,7 +1254,7 @@ void ScInterpreter::ScGDA()
}
}
void ScInterpreter::ScGDA2()
void ScInterpreter::ScDB()
{
nFuncFmtType = NUMBERFORMAT_CURRENCY;
sal_uInt8 nParamCount = GetByte();
......
......@@ -4024,7 +4024,7 @@ StackVar ScInterpreter::Interpret()
case ocPV : ScPV(); break;
case ocSYD : ScSYD(); break;
case ocGDA : ScGDA(); break;
case ocGDA2 : ScGDA2(); break;
case ocDB : ScDB(); break;
case ocVBD : ScVDB(); break;
case ocLaufz : ScLaufz(); break;
case ocLIA : ScLIA(); break;
......
......@@ -1220,7 +1220,7 @@ void ScTokenArray::CheckToken( const FormulaToken& r )
case ocIpmt:
case ocConfidence:
case ocIntercept:
case ocGDA2:
case ocDB:
case ocLogInv:
case ocArcCot:
case ocCosHyp:
......
......@@ -256,7 +256,7 @@ static const XclFunctionInfo saFuncTable_4[] =
{ ocAsc, 214, 1, 1, V, { VR }, 0, 0 },
{ ocJis, 215, 1, 1, V, { VR }, 0, 0 },
{ ocRank, 216, 2, 3, V, { VR, RO, VR }, 0, 0 },
{ ocGDA2, 247, 4, 5, V, { VR }, 0, 0 },
{ ocDB, 247, 4, 5, V, { VR }, 0, 0 },
{ ocFrequency, 252, 2, 2, A, { RA }, 0, 0 },
{ ocErrorType, 261, 1, 1, V, { VR }, 0, 0 },
{ ocAveDev, 269, 1, MX, V, { RX }, 0, 0 },
......
......@@ -1852,8 +1852,8 @@ Resource RID_SC_FUNCTION_DESCRIPTIONS1
Text [ en-US ] = "Factor. The factor for balance decline. F = 2 means a double declining balance factor" ;
};
};
// -=*# Resource for function GDA2 #*=-
Resource SC_OPCODE_GDA_2
// -=*# Resource for function DB #*=-
Resource SC_OPCODE_DB
{
String 1 // Description
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment