summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Charrière <lcharriere@gmail.com>2015-01-09 12:54:01 +0100
committerNoel Grandin <noelgrandin@gmail.com>2015-01-12 06:53:23 +0000
commitfebb2102a692480df0c82b58a792f4b3a447fb37 (patch)
tree4d14fce3665b6b5711518405422b0c27c18d961f
parent4a2fded15046f2c469c9c1723ccef4e517fc372a (diff)
fdo#85818: rename Laufz to Duration
Change-Id: I7f2f91c7d6702f9e7f22e27e08142c34c557e043 Reviewed-on: https://gerrit.libreoffice.org/13828 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r--formula/source/core/resource/core_resource.src8
-rw-r--r--include/formula/compiler.hrc2
-rw-r--r--include/formula/opcode.hxx2
-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/filter/qpro/qproform.cxx2
-rw-r--r--sc/source/ui/src/scfuncs.src4
11 files changed, 15 insertions, 15 deletions
diff --git a/formula/source/core/resource/core_resource.src b/formula/source/core/resource/core_resource.src
index ccaba7a42627..8a653013d1db 100644
--- a/formula/source/core/resource/core_resource.src
+++ b/formula/source/core/resource/core_resource.src
@@ -215,7 +215,7 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH_ODFF
String SC_OPCODE_GDA { Text = "DDB" ; };
String SC_OPCODE_DB { Text = "DB" ; };
String SC_OPCODE_VBD { Text = "VDB" ; };
- String SC_OPCODE_LAUFZ { Text = "PDURATION" ; };
+ String SC_OPCODE_DURATION { Text = "PDURATION" ; };
String SC_OPCODE_LIA { Text = "SLN" ; };
String SC_OPCODE_RMZ { Text = "PMT" ; };
String SC_OPCODE_COLUMNS { Text = "COLUMNS" ; };
@@ -622,7 +622,7 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH_OOXML
String SC_OPCODE_GDA { Text = "DDB" ; };
String SC_OPCODE_DB { Text = "DB" ; };
String SC_OPCODE_VBD { Text = "VDB" ; };
- String SC_OPCODE_LAUFZ { Text = "_xlfn.PDURATION" ; };
+ String SC_OPCODE_DURATION { Text = "_xlfn.PDURATION" ; };
String SC_OPCODE_LIA { Text = "SLN" ; };
String SC_OPCODE_RMZ { Text = "PMT" ; };
String SC_OPCODE_COLUMNS { Text = "COLUMNS" ; };
@@ -1031,7 +1031,7 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH
String SC_OPCODE_GDA { Text = "DDB" ; };
String SC_OPCODE_DB { Text = "DB" ; };
String SC_OPCODE_VBD { Text = "VDB" ; };
- String SC_OPCODE_LAUFZ { Text = "DURATION" ; };
+ String SC_OPCODE_DURATION { Text = "DURATION" ; };
String SC_OPCODE_LIA { Text = "SLN" ; };
String SC_OPCODE_RMZ { Text = "PMT" ; };
String SC_OPCODE_COLUMNS { Text = "COLUMNS" ; };
@@ -1943,7 +1943,7 @@ Resource RID_STRLIST_FUNCTION_NAMES
{
Text [ en-US ] = "VDB" ;
};
- String SC_OPCODE_LAUFZ
+ String SC_OPCODE_DURATION
{
Text [ en-US ] = "DURATION" ;
};
diff --git a/include/formula/compiler.hrc b/include/formula/compiler.hrc
index 42bba2644edd..86ff639be784 100644
--- a/include/formula/compiler.hrc
+++ b/include/formula/compiler.hrc
@@ -246,7 +246,7 @@
#define SC_OPCODE_GDA 246
#define SC_OPCODE_DB 247
#define SC_OPCODE_VBD 248
-#define SC_OPCODE_LAUFZ 249
+#define SC_OPCODE_DURATION 249
#define SC_OPCODE_LIA 250
#define SC_OPCODE_RMZ 251
#define SC_OPCODE_COLUMNS 252
diff --git a/include/formula/opcode.hxx b/include/formula/opcode.hxx
index 8f891db87b40..f566507a88b9 100644
--- a/include/formula/opcode.hxx
+++ b/include/formula/opcode.hxx
@@ -250,7 +250,7 @@ enum OpCode : sal_uInt16
ocGDA = SC_OPCODE_GDA,
ocDB = SC_OPCODE_DB,
ocVBD = SC_OPCODE_VBD,
- ocLaufz = SC_OPCODE_LAUFZ,
+ ocDuration = SC_OPCODE_DURATION,
ocLIA = SC_OPCODE_LIA,
ocRMZ = SC_OPCODE_RMZ,
ocColumns = SC_OPCODE_COLUMNS,
diff --git a/sc/source/core/inc/interpre.hxx b/sc/source/core/inc/interpre.hxx
index 7b0da5c507fc..53615bdf34ea 100644
--- a/sc/source/core/inc/interpre.hxx
+++ b/sc/source/core/inc/interpre.hxx
@@ -669,7 +669,7 @@ void ScDB();
double ScInterVDB(double fWert,double fRest,double fDauer,double fDauer1,
double fPeriode,double fFactor);
void ScVDB();
-void ScLaufz();
+void ScDuration();
void ScLIA();
double ScGetRmz(double fZins, double fZzr, double fBw,
double fZw, double fF);
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index fa7b986739a8..32d9010a9256 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -2334,7 +2334,7 @@ DynamicKernelSoPArguments::DynamicKernelSoPArguments(
case ocISPMT:
mvSubArguments.push_back(SoPHelper(ts, ft->Children[i], new OpISPMT, nResultSize));
break;
- case ocLaufz:
+ case ocDuration:
mvSubArguments.push_back(SoPHelper(ts,
ft->Children[i], new OpDuration, nResultSize));
break;
diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx
index 51c84f290bb0..48aeab1692c0 100644
--- a/sc/source/core/tool/interpr2.cxx
+++ b/sc/source/core/tool/interpr2.cxx
@@ -1423,7 +1423,7 @@ void ScInterpreter::ScVDB()
}
}
-void ScInterpreter::ScLaufz()
+void ScInterpreter::ScDuration()
{
if ( MustHaveParamCount( GetByte(), 3 ) )
{
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index 21ea241b3dd4..9c0ddefda811 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -4026,7 +4026,7 @@ StackVar ScInterpreter::Interpret()
case ocGDA : ScGDA(); break;
case ocDB : ScDB(); break;
case ocVBD : ScVDB(); break;
- case ocLaufz : ScLaufz(); break;
+ case ocDuration : ScDuration(); break;
case ocLIA : ScLIA(); break;
case ocRMZ : ScRMZ(); break;
case ocColumns : ScColumns(); break;
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index 58e2f0ee0f04..a491bfd3d82d 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -1191,7 +1191,7 @@ void ScTokenArray::CheckToken( const FormulaToken& r )
case ocCosecant:
case ocCosecantHyp:
case ocISPMT:
- case ocLaufz:
+ case ocDuration:
case ocSinHyp:
case ocAbs:
case ocPV:
diff --git a/sc/source/filter/excel/xlformula.cxx b/sc/source/filter/excel/xlformula.cxx
index 76aa228664f7..25004e492c59 100644
--- a/sc/source/filter/excel/xlformula.cxx
+++ b/sc/source/filter/excel/xlformula.cxx
@@ -554,7 +554,7 @@ static const XclFunctionInfo saFuncTable_2013[] =
EXC_FUNCENTRY_V_VR( ocWeek, 1, 2, 0, "ISOWEEKNUM" ),
EXC_FUNCENTRY_A_VR( ocMatrixUnit, 1, 1, 0, "MUNIT" ),
EXC_FUNCENTRY_V_VR( ocNumberValue, 1, 3, 0, "NUMBERVALUE" ),
- EXC_FUNCENTRY_V_VR( ocLaufz, 3, 3, 0, "PDURATION" ),
+ EXC_FUNCENTRY_V_VR( ocDuration, 3, 3, 0, "PDURATION" ),
EXC_FUNCENTRY_V_VR( ocPermutationA, 2, 2, 0, "PERMUTATIONA" ),
EXC_FUNCENTRY_V_VR( ocPhi, 1, 1, 0, "PHI" ),
EXC_FUNCENTRY_V_VR( ocZGZ, 3, 3, 0, "RRI" ),
diff --git a/sc/source/filter/qpro/qproform.cxx b/sc/source/filter/qpro/qproform.cxx
index 92b2713d370d..7e02a363011b 100644
--- a/sc/source/filter/qpro/qproform.cxx
+++ b/sc/source/filter/qpro/qproform.cxx
@@ -606,7 +606,7 @@ DefTokenId QProToSc::IndexToDLLId( sal_uInt16 nIndex )
break;
case 0x003d:
- eId = ocLaufz;
+ eId = ocDuration;
break;
case 0x0019:
diff --git a/sc/source/ui/src/scfuncs.src b/sc/source/ui/src/scfuncs.src
index 03cd60292948..bb65b456f024 100644
--- a/sc/source/ui/src/scfuncs.src
+++ b/sc/source/ui/src/scfuncs.src
@@ -2196,8 +2196,8 @@ Resource RID_SC_FUNCTION_DESCRIPTIONS1
Text [ en-US ] = "Amount of the investment.";
};
};
- // -=*# Resource for function LAUFZEIT #*=-
- Resource SC_OPCODE_LAUFZ
+ // -=*# Resource for function DURATION #*=-
+ Resource SC_OPCODE_DURATION
{
String 1 // Description
{