Kaydet (Commit) 571096ab authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1399022 Dereference after null check

Change-Id: I33c2007a8caf4f0c83cfe1119bba828f6a7c7c29
üst c15695a9
...@@ -690,8 +690,8 @@ void SwFltControlStack::SetAttrInDoc(const SwPosition& rTmpPos, ...@@ -690,8 +690,8 @@ void SwFltControlStack::SetAttrInDoc(const SwPosition& rTmpPos,
delete pTOXAttr->GetBase(); delete pTOXAttr->GetBase();
// set (above saved and removed) the break item at the node following the TOX // set (above saved and removed) the break item at the node following the TOX
if( aBkSet.Count() ) if (pNd && aBkSet.Count())
pNd->SetAttr( aBkSet ); pNd->SetAttr(aBkSet);
} }
break; break;
case RES_FLTR_REDLINE: case RES_FLTR_REDLINE:
......
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