Kaydet (Commit) 3c87a48c authored tarafından Zdibák Zoltán's avatar Zdibák Zoltán Kaydeden (comit) Julien Nabet

cppCheck redundantAssignment variable pContext

Change-Id: Ic7c97853eeeaa87e7ed7ecfad638f516f2be2969
Reviewed-on: https://gerrit.libreoffice.org/63246
Tested-by: Jenkins
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 85d95909
...@@ -45,10 +45,8 @@ SvXMLImportContextRef XMLIndexBodyContext::CreateChildContext( ...@@ -45,10 +45,8 @@ SvXMLImportContextRef XMLIndexBodyContext::CreateChildContext(
const OUString& rLocalName, const OUString& rLocalName,
const Reference<XAttributeList> & xAttrList) const Reference<XAttributeList> & xAttrList)
{ {
SvXMLImportContext* pContext = nullptr;
// return text content (if possible) // return text content (if possible)
pContext = GetImport().GetTextImport()->CreateTextChildContext( SvXMLImportContext* pContext = GetImport().GetTextImport()->CreateTextChildContext(
GetImport(), nPrefix, rLocalName, xAttrList, XMLTextType::Section ); GetImport(), nPrefix, rLocalName, xAttrList, XMLTextType::Section );
if (nullptr == pContext) if (nullptr == pContext)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment