diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-31 20:42:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-01 10:38:23 +0100 |
commit | 6bcabfeb5ca2e0a6e4566f926f82e15e2ef6f318 (patch) | |
tree | 25bece84576e6259da0c81a26664d85fd29c9882 | |
parent | fb135c7b476f264fd5582fda91059e471c998963 (diff) |
coverity#708344 Uninitialized pointer field
Change-Id: I1c5ad05d5ea8a6a2fa42638c72c1d3bcf1de8897
-rw-r--r-- | svx/source/dialog/dlgctrl.cxx | 4 |
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() |