xmloff/source/text/XMLIndexBodyContext.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit 3c87a48c19a417b9fffce3d75c8e7120282b1375 Author: Zdibák Zoltán <zdibakzol...@gmail.com> AuthorDate: Sat Nov 10 19:45:19 2018 +0100 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Sun Nov 11 09:19:59 2018 +0100 cppCheck redundantAssignment variable pContext Change-Id: Ic7c97853eeeaa87e7ed7ecfad638f516f2be2969 Reviewed-on: https://gerrit.libreoffice.org/63246 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2...@yahoo.fr> 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) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits