sc/source/core/tool/interpr8.cxx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
New commits: commit dc5e56e6910718bd8e1fd568408960d778b3d25a Author: Markus Mohrhard <markus.mohrh...@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 <c...@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrh...@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() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits