summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/orcusxml.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-02-17 22:32:55 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-02-17 23:15:51 -0600
commitd908a33013014fa198cf3d14c1b02b69df2a1323 (patch)
tree08865b14894f339b7cac1a8c001f81e71045cc0b /sc/source/core/tool/orcusxml.cxx
parentd548b250dbd74247d7c5c7b220a38e93cb19053d (diff)
coverity#984134 Uninitialized scalar field
Change-Id: Iafc65bc7d168a1750dd25cbd629762362bc73af5
Diffstat (limited to 'sc/source/core/tool/orcusxml.cxx')
-rw-r--r--sc/source/core/tool/orcusxml.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/sc/source/core/tool/orcusxml.cxx b/sc/source/core/tool/orcusxml.cxx
index c4a7b77b2569..b5f51b4daf41 100644
--- a/sc/source/core/tool/orcusxml.cxx
+++ b/sc/source/core/tool/orcusxml.cxx
@@ -13,8 +13,13 @@
#include "svtools/treelistentry.hxx"
#include "rtl/strbuf.hxx"
-ScOrcusXMLTreeParam::EntryData::EntryData(EntryType eType) :
- meType(eType), maLinkedPos(ScAddress::INITIALIZE_INVALID), mbRangeParent(false), mbLeafNode(true) {}
+ScOrcusXMLTreeParam::EntryData::EntryData(EntryType eType)
+ : mnNamespaceID(0)
+ , meType(eType)
+ , maLinkedPos(ScAddress::INITIALIZE_INVALID)
+ , mbRangeParent(false)
+ , mbLeafNode(true)
+{}
ScOrcusXMLTreeParam::EntryData* ScOrcusXMLTreeParam::getUserData(SvTreeListEntry& rEntry)
{