diff --git a/sc/source/core/tool/interpr8.cxx b/sc/source/core/tool/interpr8.cxx index 48bd9168c63b..31ab78504fc9 100644 --- a/sc/source/core/tool/interpr8.cxx +++ b/sc/source/core/tool/interpr8.cxx @@ -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,