[Libreoffice-commits] core.git: chart2/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Feb 24 11:45:35 UTC 2021
chart2/source/tools/RegressionCurveCalculator.cxx | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
New commits:
commit 0356e3f23519705af7494586f324c13b0725582a
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Feb 24 09:12:30 2021 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Feb 24 12:44:54 2021 +0100
cid#1473315 Uninitialized scalar field
Change-Id: Ia976785e66878fe23c8f96210f11c477e897858e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111449
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/chart2/source/tools/RegressionCurveCalculator.cxx b/chart2/source/tools/RegressionCurveCalculator.cxx
index c27a47e502cd..a71e607e9f70 100644
--- a/chart2/source/tools/RegressionCurveCalculator.cxx
+++ b/chart2/source/tools/RegressionCurveCalculator.cxx
@@ -36,13 +36,15 @@ using ::com::sun::star::uno::Sequence;
namespace chart
{
-RegressionCurveCalculator::RegressionCurveCalculator() :
- m_fCorrelationCoefficient(0.0),
- mDegree(2),
- mForceIntercept(false),
- mInterceptValue(0.0),
- mPeriod(2),
- mXName("x"), mYName("f(x)")
+RegressionCurveCalculator::RegressionCurveCalculator()
+ : m_fCorrelationCoefficient(0.0)
+ , mDegree(2)
+ , mForceIntercept(false)
+ , mInterceptValue(0.0)
+ , mPeriod(2)
+ , mXName("x")
+ , mYName("f(x)")
+ , mnMovingType(0)
{
rtl::math::setNan( &m_fCorrelationCoefficient );
rtl::math::setNan( &mInterceptValue );
More information about the Libreoffice-commits
mailing list