diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 11:38:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 12:40:34 +0000 |
commit | e28cbd90842a1f9575a15837533917e28bb4e8e7 (patch) | |
tree | 1b021a023743db5bbb1d5c5d9c2d2f177572e89b /xmloff/source/text/XMLIndexTOCContext.cxx | |
parent | 861c92c7c004ac0b06db05d6d570656679e6ba18 (diff) |
coverity#708711 Uninitialized scalar field
Change-Id: I3f67e5609d0c25837b56d65ade364fc29c87d057
Diffstat (limited to 'xmloff/source/text/XMLIndexTOCContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLIndexTOCContext.cxx | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/xmloff/source/text/XMLIndexTOCContext.cxx b/xmloff/source/text/XMLIndexTOCContext.cxx index 8d633f59f11f..9d6c969e48d2 100644 --- a/xmloff/source/text/XMLIndexTOCContext.cxx +++ b/xmloff/source/text/XMLIndexTOCContext.cxx @@ -94,15 +94,14 @@ SvXMLEnumMapEntry const aIndexTypeMap[] = }; -XMLIndexTOCContext::XMLIndexTOCContext( - SvXMLImport& rImport, - sal_uInt16 nPrfx, - const OUString& rLocalName ) -: SvXMLImportContext(rImport, nPrfx, rLocalName) -, sTitle("Title") -, sIsProtected("IsProtected") -, sName("Name") -, bValid(sal_False) +XMLIndexTOCContext::XMLIndexTOCContext(SvXMLImport& rImport, + sal_uInt16 nPrfx, const OUString& rLocalName) + : SvXMLImportContext(rImport, nPrfx, rLocalName) + , sTitle("Title") + , sIsProtected("IsProtected") + , sName("Name") + , eIndexType(TEXT_INDEX_UNKNOWN) + , bValid(sal_False) { if (XML_NAMESPACE_TEXT == nPrfx) { |