summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLChangeElementImportContext.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-20 15:28:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-20 15:41:53 +0100
commitf3797630be6ab21179e2496cc56a6d41f0ee8144 (patch)
tree16124e4e571065b7aa87bb90892926c58db3cafc /xmloff/source/text/XMLChangeElementImportContext.cxx
parent552ec2a3e53c5267ee04dca2249fd30983c6a395 (diff)
return nullptr from CreateChildContext methods in subclasses
the calling class handles this nicely, and also tells us when we are not handling some part of the XML file Change-Id: Ib64a704bc96bb4d6eff2d57116d62c9c15e25c6b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87073 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/text/XMLChangeElementImportContext.cxx')
-rw-r--r--xmloff/source/text/XMLChangeElementImportContext.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/xmloff/source/text/XMLChangeElementImportContext.cxx b/xmloff/source/text/XMLChangeElementImportContext.cxx
index c0cd5affc6f5..feb508c575fa 100644
--- a/xmloff/source/text/XMLChangeElementImportContext.cxx
+++ b/xmloff/source/text/XMLChangeElementImportContext.cxx
@@ -71,8 +71,6 @@ SvXMLImportContextRef XMLChangeElementImportContext::CreateChildContext(
// no text element
// illegal element content! TODO: discard this redline!
// for the moment -> use default
- xContext = SvXMLImportContext::CreateChildContext(
- nPrefix, rLocalName, xAttrList);
}
}