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

CID#1078608 unlikely NULL deref case

Change-Id: I1f934512f2cf107d5ef72a30b85d569c9b97c640
üst 7d47931e
......@@ -376,7 +376,8 @@ void SwModule::InsertLab(SfxRequest& rReq, sal_Bool bLabel)
delete pFldMgr;
pSh->GotoFly(pFirstFlyFmt->GetName(), FLYCNTTYPE_ALL, sal_False);
if (pFirstFlyFmt)
pSh->GotoFly(pFirstFlyFmt->GetName(), FLYCNTTYPE_ALL, sal_False);
pSh->EndAllAction();
pSh->DoUndo( sal_True );
......
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