diff options
Diffstat (limited to 'xmloff/source/text/XMLTrackedChangesImportContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLTrackedChangesImportContext.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/xmloff/source/text/XMLTrackedChangesImportContext.cxx b/xmloff/source/text/XMLTrackedChangesImportContext.cxx index f554b9e9b5b3..2e9b670de2e2 100644 --- a/xmloff/source/text/XMLTrackedChangesImportContext.cxx +++ b/xmloff/source/text/XMLTrackedChangesImportContext.cxx @@ -79,7 +79,7 @@ void XMLTrackedChangesImportContext::StartElement( SvXMLImportContextRef XMLTrackedChangesImportContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, - const Reference<XAttributeList> & xAttrList) + const Reference<XAttributeList> & /*xAttrList*/) { SvXMLImportContextRef xContext; @@ -90,12 +90,6 @@ SvXMLImportContextRef XMLTrackedChangesImportContext::CreateChildContext( nPrefix, rLocalName); } - if (!xContext) - { - xContext = SvXMLImportContext::CreateChildContext(nPrefix, rLocalName, - xAttrList); - } - return xContext; } |