summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-15 21:19:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-16 11:23:13 +0100
commit271c634e4fd2445dd61d6bccd75b926cbc71bc65 (patch)
tree8c90f3c945f20a76f67ccf89f51a8551f738f10b
parent9a11fbb6593812ee25a88cc198c6ef0025436c78 (diff)
coverity#1202968 Uninitialized scalar field
Change-Id: Ic226202bb1ce429f9dd8e13183ec64ffc9059d05
-rw-r--r--sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx8
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()
{}