cid#1355251, use delete[] for arrays

Change-Id: I1b34af41051d3cf58eddf124aa79b2e68a2e26f7
Reviewed-on: https://gerrit.libreoffice.org/22937
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
This commit is contained in:
Markus Mohrhard
2016-03-05 20:27:29 +01:00
parent 7b59e5e22f
commit 2015a162dd

View File

@@ -140,10 +140,10 @@ ScETSForecastCalculation::ScETSForecastCalculation( SCSIZE nSize, SvNumberFormat
ScETSForecastCalculation::~ScETSForecastCalculation()
{
delete mpBase;
delete mpTrend;
delete mpPerIdx;
delete mpForecast;
delete[] mpBase;
delete[] mpTrend;
delete[] mpPerIdx;
delete[] mpForecast;
}
bool ScETSForecastCalculation::PreprocessDataRange( ScMatrixRef rMatX, ScMatrixRef rMatY, int& rSmplInPrd,