Kaydet (Commit) 7dd4c921 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#738587 Uninitialized scalar field

Change-Id: Icf9146eb541272e7219ce3bf00c296b930538835
üst 2ff57a77
...@@ -30,12 +30,15 @@ using namespace com::sun::star; ...@@ -30,12 +30,15 @@ using namespace com::sun::star;
TYPEINIT1( SvxChartColorTableItem, SfxPoolItem ); TYPEINIT1( SvxChartColorTableItem, SfxPoolItem );
SvxChartColorTable::SvxChartColorTable() SvxChartColorTable::SvxChartColorTable()
{} : nNextElementNumber(0)
{
}
SvxChartColorTable::SvxChartColorTable( const SvxChartColorTable & _rSource ) : SvxChartColorTable::SvxChartColorTable(const SvxChartColorTable & _rSource)
m_aColorEntries( _rSource.m_aColorEntries ), : m_aColorEntries(_rSource.m_aColorEntries)
nNextElementNumber( m_aColorEntries.size() + 1 ) , nNextElementNumber(m_aColorEntries.size() + 1)
{} {
}
// accessors // accessors
size_t SvxChartColorTable::size() const size_t SvxChartColorTable::size() const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment