diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-31 20:40:13 +0100 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-02-05 23:04:31 -0500 |
commit | 176827a8771ccdc6fdb8fc310b20128b0d7285d2 (patch) | |
tree | 3be748e57b73c37ca7b58a7152bfe58b56444ecb /vcl/source/window/splitwin.cxx | |
parent | 887867c6c834a351d884dcc236de8dba2b64548e (diff) |
coverity#1302689 Uninitialized scalar field
Change-Id: I1515ab21370e70564f266cbaa21769d28716d85c
(cherry picked from commit 5f1a267c9a97059cbc8e77a0ed9b011dfe891df7)
Diffstat (limited to 'vcl/source/window/splitwin.cxx')
-rw-r--r-- | vcl/source/window/splitwin.cxx | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx index fa18d3d01eb5..69c14f8363a0 100644 --- a/vcl/source/window/splitwin.cxx +++ b/vcl/source/window/splitwin.cxx @@ -98,8 +98,26 @@ public: bool mbCalcPix; }; -ImplSplitItem::ImplSplitItem() : - mpSet( NULL ) +ImplSplitItem::ImplSplitItem() + : mnSize(0) + , mnPixSize(0) + , mnLeft(0) + , mnTop(0) + , mnWidth(0) + , mnHeight(0) + , mnSplitPos(0) + , mnSplitSize(0) + , mnOldSplitPos(0) + , mnOldSplitSize(0) + , mnOldWidth(0) + , mnOldHeight(0) + , mpSet(0) + , mnId(0) + , mnBits(SplitWindowItemFlags::NONE) + , mbFixed(false) + , mbSubSize(false) + , mnMinSize(-1) + , mnMaxSize(-1) { } |