summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editeng/source/items/numitem.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index 0f144d10c274..6968d3bd9ecc 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -670,8 +670,9 @@ SvxNumRule::SvxNumRule(const SvxNumRule& rCopy)
}
SvxNumRule::SvxNumRule( SvStream &rStream )
+ : nLevelCount(0)
{
- sal_uInt16 nTmp16;
+ sal_uInt16 nTmp16(0);
rStream.ReadUInt16( nTmp16 ); // NUM_ITEM_VERSION
rStream.ReadUInt16( nLevelCount );