diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-11 11:10:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-11 11:52:30 +0100 |
commit | 623fa779b67b39b0a0afd5a2345a331748ca780f (patch) | |
tree | e4730979a242ddabb826da0d133afd45ecc5524b | |
parent | 424a9f1fe6c8e20f3e354205900e320e2404ce36 (diff) |
coverity#1019408 Uninitialized scalar field
Change-Id: I63bc844627ca9eaf43f9b4b01ab987ef4f188afa
-rw-r--r-- | editeng/source/items/numitem.cxx | 3 |
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 ); |