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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user