summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/interpr8.cxx2
-rw-r--r--sc/source/ui/view/dbfunc3.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/core/tool/interpr8.cxx b/sc/source/core/tool/interpr8.cxx
index 07bea611d5f8..fa87be067f89 100644
--- a/sc/source/core/tool/interpr8.cxx
+++ b/sc/source/core/tool/interpr8.cxx
@@ -80,7 +80,7 @@ private:
std::unique_ptr<double[]> mpForecast; // forecasted value array
SCSIZE mnSmplInPrd; // samples per period
double mfStepSize; // increment of X in maRange
- double mfAlpha, mfBeta, mfGamma; // constants to minimise the RMSE in the ES-equations
+ double mfAlpha, mfBeta, mfGamma; // constants to minimize the RMSE in the ES-equations
SCSIZE mnCount; // No of data points
bool mbInitialised;
int mnMonthDay; // n-month X-interval, value is day of month
diff --git a/sc/source/ui/view/dbfunc3.cxx b/sc/source/ui/view/dbfunc3.cxx
index 99db0e7f6839..11a16575e36a 100644
--- a/sc/source/ui/view/dbfunc3.cxx
+++ b/sc/source/ui/view/dbfunc3.cxx
@@ -2158,12 +2158,12 @@ void ScDBFunc::RepeatDB( bool bRecord )
if (bSort)
{
- pDBData->GetSortParam( aSortParam ); // range may have chaged
+ pDBData->GetSortParam( aSortParam ); // range may have changed
Sort( aSortParam, false, false);
}
if (bQuery)
{
- pDBData->GetQueryParam( aQueryParam ); // range may have chaged
+ pDBData->GetQueryParam( aQueryParam ); // range may have changed
ScRange aAdvSource;
if (pDBData->GetAdvancedQuerySource(aAdvSource))
{
@@ -2179,7 +2179,7 @@ void ScDBFunc::RepeatDB( bool bRecord )
}
if (bSubTotal)
{
- pDBData->GetSubTotalParam( aSubTotalParam ); // range may have chaged
+ pDBData->GetSubTotalParam( aSubTotalParam ); // range may have changed
aSubTotalParam.bRemoveOnly = false;
DoSubTotals( aSubTotalParam, false );
}