Kaydet (Commit) 325e586d authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#707758 Uninitialized scalar field

Change-Id: I2f123b0be283b1cb7d890f0e2318dabb5a5930ec
üst 623fa779
...@@ -178,9 +178,14 @@ SvxNumberFormat::SvxNumberFormat(const SvxNumberFormat& rFormat) : ...@@ -178,9 +178,14 @@ SvxNumberFormat::SvxNumberFormat(const SvxNumberFormat& rFormat) :
} }
SvxNumberFormat::SvxNumberFormat( SvStream &rStream ) SvxNumberFormat::SvxNumberFormat( SvStream &rStream )
: nStart(0)
, nFirstLineOffset(0)
, nAbsLSpace(0)
, nLSpace(0)
, nCharTextDistance(0)
{ {
sal_uInt16 nTmp16; sal_uInt16 nTmp16(0);
sal_Int32 nTmp32; sal_Int32 nTmp32(0);
rStream.ReadUInt16( nTmp16 ); // Version number rStream.ReadUInt16( nTmp16 ); // Version number
rStream.ReadUInt16( nTmp16 ); SetNumberingType( nTmp16 ); rStream.ReadUInt16( nTmp16 ); SetNumberingType( nTmp16 );
...@@ -228,8 +233,8 @@ SvxNumberFormat::SvxNumberFormat( SvStream &rStream ) ...@@ -228,8 +233,8 @@ SvxNumberFormat::SvxNumberFormat( SvStream &rStream )
rStream.ReadInt32( nTmp32 ); mnListtabPos = nTmp32; rStream.ReadInt32( nTmp32 ); mnListtabPos = nTmp32;
rStream.ReadInt32( nTmp32 ); mnFirstLineIndent = nTmp32; rStream.ReadInt32( nTmp32 ); mnFirstLineIndent = nTmp32;
rStream.ReadInt32( nTmp32 ); mnIndentAt = nTmp32; rStream.ReadInt32( nTmp32 ); mnIndentAt = nTmp32;
} }
SvxNumberFormat::~SvxNumberFormat() SvxNumberFormat::~SvxNumberFormat()
{ {
delete pGraphicBrush; delete pGraphicBrush;
......
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