From 830ea7ba994f84cfaa0e73cd8589c7c96de67324 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 18 Feb 2014 10:25:39 +0000 Subject: coverity#984145 Uninitialized scalar field Change-Id: I08d4de5fc4cbc56feda0f57f95ae76cd25b124e3 --- svl/source/items/cintitem.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'svl') 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&) -- cgit