summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLAutoTextContainerEventImport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/XMLAutoTextContainerEventImport.cxx')
-rw-r--r--xmloff/source/text/XMLAutoTextContainerEventImport.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/text/XMLAutoTextContainerEventImport.cxx b/xmloff/source/text/XMLAutoTextContainerEventImport.cxx
index 70729096ad03..39164f5960b7 100644
--- a/xmloff/source/text/XMLAutoTextContainerEventImport.cxx
+++ b/xmloff/source/text/XMLAutoTextContainerEventImport.cxx
@@ -61,8 +61,7 @@ SvXMLImportContextRef XMLAutoTextContainerEventImport::CreateChildContext(
return new XMLEventsImportContext(GetImport(), nPrefix, rLocalName,
rEvents);
}
- else
- return new SvXMLImportContext(GetImport(), nPrefix, rLocalName);
+ return nullptr;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */