summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLIndexTOCContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/XMLIndexTOCContext.cxx')
-rw-r--r--xmloff/source/text/XMLIndexTOCContext.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/xmloff/source/text/XMLIndexTOCContext.cxx b/xmloff/source/text/XMLIndexTOCContext.cxx
index b17062e9cbce..a39e864d731e 100644
--- a/xmloff/source/text/XMLIndexTOCContext.cxx
+++ b/xmloff/source/text/XMLIndexTOCContext.cxx
@@ -276,7 +276,7 @@ void XMLIndexTOCContext::EndElement()
SvXMLImportContextRef XMLIndexTOCContext::CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
- const Reference<XAttributeList> & xAttrList )
+ const Reference<XAttributeList> & /*xAttrList*/ )
{
SvXMLImportContextRef xContext;
@@ -345,13 +345,6 @@ SvXMLImportContextRef XMLIndexTOCContext::CreateChildContext(
}
// else: not valid -> ignore
- // default: ignore
- if (!xContext)
- {
- xContext = SvXMLImportContext::CreateChildContext(nPrefix, rLocalName,
- xAttrList);
- }
-
return xContext;
}