summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-11-14 12:10:55 +0100
committerMark Page <aptitude@btconnect.com>2017-11-15 07:52:19 +0100
commita8f31d5120c2ae9109d316db73b5adf9cb26c892 (patch)
tree98331d6edfca63fe73515f8edbe3d88a83022313 /sc/source
parentcab6e6836973a9ddfc5ed9df757e07138328c1c3 (diff)
Fix typos
Change-Id: I8bdced3fa572074aedabdcfce841adf525ae8b81 Reviewed-on: https://gerrit.libreoffice.org/44710 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Page <aptitude@btconnect.com>
Diffstat (limited to 'sc/source')
-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 );
}