diff options
-rw-r--r-- | xmloff/source/text/XMLIndexBodyContext.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xmloff/source/text/XMLIndexBodyContext.cxx b/xmloff/source/text/XMLIndexBodyContext.cxx index df805eddbcc1..b739093b595d 100644 --- a/xmloff/source/text/XMLIndexBodyContext.cxx +++ b/xmloff/source/text/XMLIndexBodyContext.cxx @@ -45,10 +45,8 @@ SvXMLImportContextRef XMLIndexBodyContext::CreateChildContext( const OUString& rLocalName, const Reference<XAttributeList> & xAttrList) { - SvXMLImportContext* pContext = nullptr; - // return text content (if possible) - pContext = GetImport().GetTextImport()->CreateTextChildContext( + SvXMLImportContext* pContext = GetImport().GetTextImport()->CreateTextChildContext( GetImport(), nPrefix, rLocalName, xAttrList, XMLTextType::Section ); if (nullptr == pContext) { |