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

coverity#1130350 Dereference after null check

Change-Id: I14c64f42b469450221791f0f136167b58df2f15d
üst 566564b5
......@@ -637,7 +637,7 @@ sal_uInt16 SwDocShell::Edit(
assigned" paragraph style, the outline level attribute and the list
style attribute of the new paragraph style have to be set to 0
respectively "".*/
if( pColl->IsAssignedToListLevelOfOutlineStyle())
if (pColl && pColl->IsAssignedToListLevelOfOutlineStyle())
{
SwNumRuleItem aItem(aEmptyOUStr);
pDStyle->GetCollection()->SetFmtAttr( aItem );
......
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