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

coverity#1399024 Explicit null dereferenced

Change-Id: I9e8f4bf693734625ec3544e5d4f35a7d048ea609
üst 975b2930
......@@ -266,7 +266,8 @@ void FuOutlineBullet::SetCurrentBulletsNumbering(SfxRequest& rReq)
{
mpView->ChangeMarkedObjectsBulletsNumbering( bToggle, nSId == FN_SVX_SET_BULLET, bInMasterView ? nullptr : pNumRule );
}
if ( bInMasterView )
if (bInMasterView && pNumRule)
{
SfxItemSet aSetAttr( mpViewShell->GetPool(), EE_ITEMS_START, EE_ITEMS_END );
aSetAttr.Put(SvxNumBulletItem( *pNumRule, nNumItemId ));
......
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