sc/source/core/tool/interpr8.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 2015a162dde204ada7d4271bc4c2022984869654
Author: Markus Mohrhard <markus.mohrh...@googlemail.com>
Date:   Sat Mar 5 20:27:29 2016 +0100

    cid#1355251, use delete[] for arrays
    
    Change-Id: I1b34af41051d3cf58eddf124aa79b2e68a2e26f7
    Reviewed-on: https://gerrit.libreoffice.org/22937
    Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrh...@googlemail.com>

diff --git a/sc/source/core/tool/interpr8.cxx b/sc/source/core/tool/interpr8.cxx
index 48bd916..31ab785 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,
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to