summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLChangeInfoContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/XMLChangeInfoContext.cxx')
-rw-r--r--xmloff/source/text/XMLChangeInfoContext.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/xmloff/source/text/XMLChangeInfoContext.cxx b/xmloff/source/text/XMLChangeInfoContext.cxx
index af12de858c20..326ce43b032a 100644
--- a/xmloff/source/text/XMLChangeInfoContext.cxx
+++ b/xmloff/source/text/XMLChangeInfoContext.cxx
@@ -56,7 +56,7 @@ void XMLChangeInfoContext::StartElement(const Reference<XAttributeList> &)
SvXMLImportContextRef XMLChangeInfoContext::CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
- const Reference<XAttributeList >& xAttrList )
+ const Reference<XAttributeList >& /*xAttrList*/ )
{
SvXMLImportContextRef xContext;
@@ -77,12 +77,6 @@ SvXMLImportContextRef XMLChangeInfoContext::CreateChildContext(
rLocalName, sCommentBuffer);
}
- if (!xContext)
- {
- xContext = SvXMLImportContext::CreateChildContext(nPrefix, rLocalName,
- xAttrList);
- }
-
return xContext;
}