summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/layerimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/draw/layerimp.cxx')
-rw-r--r--xmloff/source/draw/layerimp.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/xmloff/source/draw/layerimp.cxx b/xmloff/source/draw/layerimp.cxx
index c0826cbec25b..50c6d39061d7 100644
--- a/xmloff/source/draw/layerimp.cxx
+++ b/xmloff/source/draw/layerimp.cxx
@@ -106,10 +106,7 @@ SvXMLImportContextRef SdXMLLayerContext::CreateChildContext( sal_uInt16 nPrefix,
{
return new XMLStringBufferImportContext( GetImport(), nPrefix, rLocalName, sDescriptionBuffer);
}
- else
- {
- return new SvXMLImportContext( GetImport(), nPrefix, rLocalName );
- }
+ return nullptr;
}
void SdXMLLayerContext::EndElement()