diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-15 21:19:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-16 11:23:13 +0100 |
commit | 271c634e4fd2445dd61d6bccd75b926cbc71bc65 (patch) | |
tree | 8c90f3c945f20a76f67ccf89f51a8551f738f10b /sc/source | |
parent | 9a11fbb6593812ee25a88cc198c6ef0025436c78 (diff) |
coverity#1202968 Uninitialized scalar field
Change-Id: Ic226202bb1ce429f9dd8e13183ec64ffc9059d05
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx b/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx index 6617b0b03c4a..a094f2a21e34 100644 --- a/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx +++ b/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx @@ -23,9 +23,11 @@ extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeScPivotLayoutTreeListLabel( return new ScPivotLayoutTreeListLabel(pParent, WB_BORDER | WB_TABSTOP | WB_CLIPCHILDREN | WB_FORCE_MAKEVISIBLE); } -ScPivotLayoutTreeListLabel::ScPivotLayoutTreeListLabel(Window* pParent, WinBits nBits) : - ScPivotLayoutTreeListBase(pParent, nBits, LABEL_LIST) -{} +ScPivotLayoutTreeListLabel::ScPivotLayoutTreeListLabel(Window* pParent, WinBits nBits) + : ScPivotLayoutTreeListBase(pParent, nBits, LABEL_LIST) + , maDataItem(0) +{ +} ScPivotLayoutTreeListLabel::~ScPivotLayoutTreeListLabel() {} |