From 2015a162dde204ada7d4271bc4c2022984869654 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sat, 5 Mar 2016 20:27:29 +0100 Subject: [PATCH] cid#1355251, use delete[] for arrays Change-Id: I1b34af41051d3cf58eddf124aa79b2e68a2e26f7 Reviewed-on: https://gerrit.libreoffice.org/22937 Reviewed-by: Markus Mohrhard Tested-by: Markus Mohrhard --- sc/source/core/tool/interpr8.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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,