summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-02 12:21:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-02 15:51:17 +0100
commit99007fdb8e70ee6c2f05cf60808c3e6aa76311a2 (patch)
treea85ef11a2aafbfea1f73543bc23ccd22ef3206d9 /vcl/source
parent617faefab11b2565b95fcff9133ebf7b01bc49f1 (diff)
coverity#708589 Uninitialized pointer field
Change-Id: Ifc584276b32e517cb3105133de731e068851254b
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/control/lstbox.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/source/control/lstbox.cxx b/vcl/source/control/lstbox.cxx
index c978fe4d366f..a166de61837c 100644
--- a/vcl/source/control/lstbox.cxx
+++ b/vcl/source/control/lstbox.cxx
@@ -42,7 +42,9 @@ void ListBox::EnableQuickSelection( const bool& b )
mpImplLB->GetMainWindow()->EnableQuickSelection(b);
}
-ListBox::ListBox( WindowType nType ) : Control( nType )
+ListBox::ListBox(WindowType nType)
+ : Control(nType)
+ , mpImplLB(NULL)
{
ImplInitListBoxData();
}