summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorLaurent Charrière <lcharriere@gmail.com>2015-01-09 12:07:44 +0100
committerNoel Grandin <noelgrandin@gmail.com>2015-01-12 06:52:46 +0000
commit4a2fded15046f2c469c9c1723ccef4e517fc372a (patch)
tree5e421bf1be7fbfecbc7d10fa659b197a0b2dc096 /sc
parentb2fcd4f7c7133f10bde8df3b7544023a3719d2b2 (diff)
fdo#85818: rename GDA2 to DB
Change-Id: I2449645b47918325474109fc090ef34b009f26a8 Reviewed-on: https://gerrit.libreoffice.org/13826 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.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/ui/src/scfuncs.src4
7 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/core/inc/interpre.hxx b/sc/source/core/inc/interpre.hxx
index 4ce3313ea1ec..7b0da5c507fc 100644
--- a/sc/source/core/inc/interpre.hxx
+++ b/sc/source/core/inc/interpre.hxx
@@ -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();
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index 870b1fbd375a..fa7b986739a8 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -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;
diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx
index 7e9410c4ff4d..51c84f290bb0 100644
--- a/sc/source/core/tool/interpr2.cxx
+++ b/sc/source/core/tool/interpr2.cxx
@@ -1254,7 +1254,7 @@ void ScInterpreter::ScGDA()
}
}
-void ScInterpreter::ScGDA2()
+void ScInterpreter::ScDB()
{
nFuncFmtType = NUMBERFORMAT_CURRENCY;
sal_uInt8 nParamCount = GetByte();
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index e6e5162f8fad..21ea241b3dd4 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -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;
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index f59b0ef85612..58e2f0ee0f04 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -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:
diff --git a/sc/source/filter/excel/xlformula.cxx b/sc/source/filter/excel/xlformula.cxx
index f37e72d8825a..76aa228664f7 100644
--- a/sc/source/filter/excel/xlformula.cxx
+++ b/sc/source/filter/excel/xlformula.cxx
@@ -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 },
diff --git a/sc/source/ui/src/scfuncs.src b/sc/source/ui/src/scfuncs.src
index d559a262ed1e..03cd60292948 100644
--- a/sc/source/ui/src/scfuncs.src
+++ b/sc/source/ui/src/scfuncs.src
@@ -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
{