From 6bcabfeb5ca2e0a6e4566f926f82e15e2ef6f318 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 31 Mar 2014 20:42:48 +0100 Subject: coverity#708344 Uninitialized pointer field Change-Id: I1c5ad05d5ea8a6a2fa42638c72c1d3bcf1de8897 --- svx/source/dialog/dlgctrl.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'svx/source/dialog') diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx index 8bfa03d92e91..2b6e48c28987 100644 --- a/svx/source/dialog/dlgctrl.cxx +++ b/svx/source/dialog/dlgctrl.cxx @@ -1122,8 +1122,10 @@ void SvxPixelCtl::Reset() // Constructor: BitmapCtl for SvxPixelCtl SvxBitmapCtl::SvxBitmapCtl( Window* /*pParent*/, const Size& rSize ) + : aSize(rSize) + , nLines(0) + , pBmpArray(NULL) { - aSize = rSize; } SvxBitmapCtl::~SvxBitmapCtl() -- cgit