diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-18 10:25:39 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-18 10:25:39 +0000 |
commit | 830ea7ba994f84cfaa0e73cd8589c7c96de67324 (patch) | |
tree | 3d1989199b7b507d942082958caf7b3e14df0e8f /svl | |
parent | d280756b12cf30112901633f827d6509ce00c7f2 (diff) |
coverity#984145 Uninitialized scalar field
Change-Id: I08d4de5fc4cbc56feda0f57f95ae76cd25b124e3
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/cintitem.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/svl/source/items/cintitem.cxx b/svl/source/items/cintitem.cxx index ec155e0d16ee..de4559b5711c 100644 --- a/svl/source/items/cintitem.cxx +++ b/svl/source/items/cintitem.cxx @@ -255,8 +255,9 @@ DBG_NAME(CntInt32Item); TYPEINIT1_AUTOFACTORY(CntInt32Item, SfxPoolItem); -CntInt32Item::CntInt32Item(sal_uInt16 which, SvStream & rStream) : - SfxPoolItem(which) +CntInt32Item::CntInt32Item(sal_uInt16 which, SvStream & rStream) + : SfxPoolItem(which) + , m_nValue(0) { DBG_CTOR(CntInt32Item, 0); //fdo#39428 SvStream no longer supports operator>>(long&) |