From e2669d7ee66b59c63114a94875b39d5c1e26d132 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 18 Jul 2014 13:29:23 +0100 Subject: coverity#1226494 Uninitialized pointer field Change-Id: I88d0414ea6188e807aa347dce4567821e0b7c6f3 --- svx/source/form/datanavi.cxx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'svx/source') diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx index 0088a161a573..7a40de440a74 100644 --- a/svx/source/form/datanavi.cxx +++ b/svx/source/form/datanavi.cxx @@ -123,12 +123,16 @@ namespace svxform m_xPropSet( _rxSet ) {} }; - // class DataTreeListBox - - DataTreeListBox::DataTreeListBox( Window* pParent, WinBits nBits ) : - - SvTreeListBox( pParent, nBits ) + DataTreeListBox::DataTreeListBox(Window* pParent, WinBits nBits) + : SvTreeListBox(pParent, nBits) + , m_pXFormsPage(NULL) + , m_eGroup(DGTUnknown) + , m_nAddId(0) + , m_nAddElementId(0) + , m_nAddAttributeId(0) + , m_nEditId(0) + , m_nRemoveId(0) { EnableContextMenuHandling(); -- cgit v1.2.3