diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-20 15:28:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-20 15:41:53 +0100 |
commit | f3797630be6ab21179e2496cc56a6d41f0ee8144 (patch) | |
tree | 16124e4e571065b7aa87bb90892926c58db3cafc /xmloff/source/draw/ximplink.cxx | |
parent | 552ec2a3e53c5267ee04dca2249fd30983c6a395 (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/draw/ximplink.cxx')
-rw-r--r-- | xmloff/source/draw/ximplink.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/draw/ximplink.cxx b/xmloff/source/draw/ximplink.cxx index 9de9cb753cca..db28b619e026 100644 --- a/xmloff/source/draw/ximplink.cxx +++ b/xmloff/source/draw/ximplink.cxx @@ -62,8 +62,7 @@ SvXMLImportContextRef SdXMLShapeLinkContext::CreateChildContext( sal_uInt16 nPre return pContext; } - // call parent when no own context was created - return SvXMLImportContext::CreateChildContext( nPrefix, rLocalName, xAttrList); + return nullptr; } |