summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-03-05 20:27:29 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-03-05 20:24:55 +0000
commit2015a162dde204ada7d4271bc4c2022984869654 (patch)
treebb2a9d662e6357825d3319aadbbaca31a80aaeae /sc/source
parent7b59e5e22f379782cd94f9bf9f25d8c12f0008f9 (diff)
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>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/tool/interpr8.cxx8
1 files 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,