summaryrefslogtreecommitdiff
path: root/xmloff/source/xforms/TokenContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/xforms/TokenContext.cxx')
-rw-r--r--xmloff/source/xforms/TokenContext.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/xmloff/source/xforms/TokenContext.cxx b/xmloff/source/xforms/TokenContext.cxx
index 2178b38c4805..71215c4395d7 100644
--- a/xmloff/source/xforms/TokenContext.cxx
+++ b/xmloff/source/xforms/TokenContext.cxx
@@ -107,7 +107,6 @@ SvXMLImportContextRef TokenContext::CreateChildContext(
if( pContext == nullptr )
{
GetImport().SetError( XMLERROR_UNKNOWN_ELEMENT, rLocalName );
- pContext = new SvXMLImportContext( GetImport(), nPrefix, rLocalName );
}
return pContext;
}