Kaydet (Commit) 514fcf42 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#708287 Uninitialized pointer field

Change-Id: Ie1e605caaaa6a2fc7756a285298c1f49962ad2b6
üst 184b9f7d
......@@ -302,19 +302,23 @@ void SvLBoxBmp::Clone( SvLBoxItem* pSource )
SvLBoxButton::SvLBoxButton( SvTreeListEntry* pEntry, SvLBoxButtonKind eTheKind,
sal_uInt16 nFlags, SvLBoxButtonData* pBData )
: SvLBoxItem( pEntry, nFlags )
, isVis(true)
, pData(pBData)
, eKind(eTheKind)
, nBaseOffs(0)
, nItemFlags(0)
{
eKind = eTheKind;
nBaseOffs = 0;
nItemFlags = 0;
SetStateUnchecked();
pData = pBData;
isVis = true;
}
SvLBoxButton::SvLBoxButton() : SvLBoxItem()
SvLBoxButton::SvLBoxButton()
: SvLBoxItem()
, isVis(false)
, pData(0)
, eKind(SvLBoxButtonKind_enabledCheckbox)
, nItemFlags(0)
, nBaseOffs(0)
{
eKind = SvLBoxButtonKind_enabledCheckbox;
nItemFlags = 0;
SetStateUnchecked();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment