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