diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-01-31 23:41:52 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-01-31 23:41:52 -0600 |
commit | c74006b1c8420143679a6057c92942fa8a3a65ef (patch) | |
tree | a1862740e03061e778f0a5768b29b79cdf8e9878 /chart2 | |
parent | f68d5d5c8c7d865db0fbb7562ddd03076fbe605f (diff) |
coverity#707668 : Uninitialized scalar field
Change-Id: I3527de5f4a00d2fa2aa3b01a82d7c91a24547b86
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx index 9b5b622c5d7e..21b269ab1aac 100644 --- a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx @@ -484,16 +484,17 @@ void SAL_CALL DataSeriesPointWrapper::initialize( const uno::Sequence< uno::Any m_eType = DATA_SERIES; } -DataSeriesPointWrapper::DataSeriesPointWrapper( eType _eType - , sal_Int32 nSeriesIndexInNewAPI - , sal_Int32 nPointIndex //ignored for series - , ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ) - : m_spChart2ModelContact( spChart2ModelContact ) - , m_aEventListenerContainer( m_aMutex ) - , m_eType( _eType ) - , m_nSeriesIndexInNewAPI( nSeriesIndexInNewAPI ) - , m_nPointIndex( (_eType == DATA_POINT) ? nPointIndex : -1 ) - , m_xDataSeries(0) +DataSeriesPointWrapper::DataSeriesPointWrapper( eType _eType, + sal_Int32 nSeriesIndexInNewAPI , + sal_Int32 nPointIndex, //ignored for series + ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ) + : m_spChart2ModelContact( spChart2ModelContact ) + , m_aEventListenerContainer( m_aMutex ) + , m_eType( _eType ) + , m_nSeriesIndexInNewAPI( nSeriesIndexInNewAPI ) + , m_nPointIndex( (_eType == DATA_POINT) ? nPointIndex : -1 ) + , m_bLinesAllowed( sal_False ) + , m_xDataSeries(0) { } |