summaryrefslogtreecommitdiff
path: root/xmloff/source/script/xmlbasici.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/script/xmlbasici.cxx')
-rw-r--r--xmloff/source/script/xmlbasici.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/xmloff/source/script/xmlbasici.cxx b/xmloff/source/script/xmlbasici.cxx
index da38c060b7a3..0a69889f7218 100644
--- a/xmloff/source/script/xmlbasici.cxx
+++ b/xmloff/source/script/xmlbasici.cxx
@@ -53,9 +53,6 @@ SvXMLImportContextRef XMLBasicImportContext::CreateChildContext(
pContext = new XMLBasicImportChildContext( GetImport(), nPrefix, rLocalName,
Reference<xml::sax::XDocumentHandler>(m_xHandler, UNO_QUERY_THROW) );
- if ( !pContext )
- pContext = new SvXMLImportContext( GetImport(), nPrefix, rLocalName );
-
return pContext;
}