diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-03-05 20:34:59 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-03-06 17:43:33 +0000 |
commit | dc5e56e6910718bd8e1fd568408960d778b3d25a (patch) | |
tree | 6736b9bf6c8a8cb1686951dff7a7e2bc2e6287ad /sc | |
parent | 7afe51975e21e99a8aa08183c77c0b2774a62b8f (diff) |
use the initializer list
Change-Id: Ie97eb9d3d162f22f83442c843d3c7f98434f91a8
Reviewed-on: https://gerrit.libreoffice.org/22938
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/interpr8.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sc/source/core/tool/interpr8.cxx b/sc/source/core/tool/interpr8.cxx index d9c2acae1740..0fdb6702899c 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() |