summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/xmlreader/xmlreader.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xmlreader/xmlreader.hxx b/include/xmlreader/xmlreader.hxx
index 4ffc84e749fd..716c6c7300a0 100644
--- a/include/xmlreader/xmlreader.hxx
+++ b/include/xmlreader/xmlreader.hxx
@@ -84,7 +84,8 @@ private:
Span prefix;
int nsId;
- NamespaceData() {}
+ NamespaceData():
+ nsId(-1) {}
NamespaceData(Span const & thePrefix, int theNsId):
prefix(thePrefix), nsId(theNsId) {}