[Libreoffice-commits] core.git: sc/source

Markus Mohrhard markus.mohrhard at googlemail.com
Sun Mar 6 17:43:53 UTC 2016


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

New commits:
commit dc5e56e6910718bd8e1fd568408960d778b3d25a
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sat Mar 5 20:34:59 2016 +0100

    use the initializer list
    
    Change-Id: Ie97eb9d3d162f22f83442c843d3c7f98434f91a8
    Reviewed-on: https://gerrit.libreoffice.org/22938
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sc/source/core/tool/interpr8.cxx b/sc/source/core/tool/interpr8.cxx
index d9c2aca..0fdb670 100644
--- a/sc/source/core/tool/interpr8.cxx
+++ b/sc/source/core/tool/interpr8.cxx
@@ -125,17 +125,17 @@ public:
     bool GetETSPredictionIntervals( ScMatrixRef rTMat, ScMatrixRef rPIMat, double fPILevel );
 };
 
-ScETSForecastCalculation::ScETSForecastCalculation( SCSIZE nSize, SvNumberFormatter* pFormatter )
+ScETSForecastCalculation::ScETSForecastCalculation( SCSIZE nSize, SvNumberFormatter* pFormatter ):
+    mpFormatter(pFormatter),
+    mpBase(nullptr),
+    mpTrend(nullptr),
+    mpPerIdx(nullptr),
+    mpForecast(nullptr),
+    mnCount(nSize),
+    mbInitialised(false),
+    mnMonthDay(0)
 {
-    mpFormatter = pFormatter;
-    mnCount = nSize;
     maRange.reserve( mnCount );
-    mbInitialised = false;
-    mnMonthDay = 0;
-    mpBase     = nullptr;
-    mpTrend    = nullptr;
-    mpPerIdx   = nullptr;
-    mpForecast = nullptr;
 }
 
 ScETSForecastCalculation::~ScETSForecastCalculation()


More information about the Libreoffice-commits mailing list