summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/numitem.cxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index 6968d3bd9ecc..55b68c0ea350 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -178,9 +178,14 @@ SvxNumberFormat::SvxNumberFormat(const SvxNumberFormat& rFormat) :
}
SvxNumberFormat::SvxNumberFormat( SvStream &rStream )
+ : nStart(0)
+ , nFirstLineOffset(0)
+ , nAbsLSpace(0)
+ , nLSpace(0)
+ , nCharTextDistance(0)
{
- sal_uInt16 nTmp16;
- sal_Int32 nTmp32;
+ sal_uInt16 nTmp16(0);
+ sal_Int32 nTmp32(0);
rStream.ReadUInt16( nTmp16 ); // Version number
rStream.ReadUInt16( nTmp16 ); SetNumberingType( nTmp16 );
@@ -228,8 +233,8 @@ SvxNumberFormat::SvxNumberFormat( SvStream &rStream )
rStream.ReadInt32( nTmp32 ); mnListtabPos = nTmp32;
rStream.ReadInt32( nTmp32 ); mnFirstLineIndent = nTmp32;
rStream.ReadInt32( nTmp32 ); mnIndentAt = nTmp32;
-
}
+
SvxNumberFormat::~SvxNumberFormat()
{
delete pGraphicBrush;