summaryrefslogtreecommitdiff
path: root/svx/source/dialog
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-31 20:42:48 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-01 10:38:23 +0100
commit6bcabfeb5ca2e0a6e4566f926f82e15e2ef6f318 (patch)
tree25bece84576e6259da0c81a26664d85fd29c9882 /svx/source/dialog
parentfb135c7b476f264fd5582fda91059e471c998963 (diff)
coverity#708344 Uninitialized pointer field
Change-Id: I1c5ad05d5ea8a6a2fa42638c72c1d3bcf1de8897
Diffstat (limited to 'svx/source/dialog')
-rw-r--r--svx/source/dialog/dlgctrl.cxx4
1 files changed, 3 insertions, 1 deletions
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()