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

coverity#1078550 Dereference after null check

Change-Id: I51852cba8b061f3b1dee4875f8daf0e0205e2211
üst c0bb0699
......@@ -936,9 +936,10 @@ void SwWW8ImplReader::StartAnl(const sal_uInt8* pSprm13)
bAnl = true;
sNumRule = pNumRule ? pNumRule->GetName() : OUString();
// set NumRules via stack
pCtrlStck->NewAttr(*pPaM->GetPoint(),
SfxStringItem(RES_FLTR_NUMRULE, pNumRule->GetName()));
SfxStringItem(RES_FLTR_NUMRULE, sNumRule));
maANLDRules.SetNumRule(pNumRule, nWwNumType);
}
......
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