summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-01-28 23:44:01 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-01-29 23:36:52 -0600
commitf3612719e00ee63b5d68258b99f3c61a85c27e27 (patch)
tree79823ddf8681898b15f48a4cad4584e4d3688d29 /chart2
parenta904aa609dddb80a44cf34a5e4299efe0dc2c49f (diff)
coverity#1019405-04 : Uninitialized scalar field
Change-Id: Ic784f3f1e581583b79cc26aa399f7b99dfb16481
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/tools/ErrorBar.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/chart2/source/tools/ErrorBar.cxx b/chart2/source/tools/ErrorBar.cxx
index 277fb866724b..d5c90e88d773 100644
--- a/chart2/source/tools/ErrorBar.cxx
+++ b/chart2/source/tools/ErrorBar.cxx
@@ -94,6 +94,7 @@ ErrorBar::ErrorBar(
mfPositiveError(0),
mfNegativeError(0),
mfWeight(1),
+ meStyle(com::sun::star::chart::ErrorBarStyle::NONE),
m_xContext( xContext ),
m_xModifyEventForwarder( ModifyListenerHelper::createModifyEventForwarder())
{}
@@ -107,6 +108,7 @@ ErrorBar::ErrorBar( const ErrorBar & rOther ) :
mfPositiveError(rOther.mfPositiveError),
mfNegativeError(rOther.mfNegativeError),
mfWeight(rOther.mfWeight),
+ meStyle(rOther.meStyle),
m_xContext( rOther.m_xContext ),
m_xModifyEventForwarder( ModifyListenerHelper::createModifyEventForwarder())
{