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

coverity#1213064 Dereference after null check

Change-Id: Icf80cff1f68e85bf9103aedc95ccca80e2d32681
üst d23a57a2
......@@ -1344,7 +1344,8 @@ bool SwLayAction::FormatLayout( SwLayoutFrm *pLay, bool bAddRect )
if(aSpaceToPrevPage.Height() > 0 && aSpaceToPrevPage.Width() > 0)
pImp->GetShell()->AddPaintRect( aSpaceToPrevPage );
pSh->GetOut()->DrawRect( aSpaceToPrevPage.SVRect() );
if (pSh)
pSh->GetOut()->DrawRect( aSpaceToPrevPage.SVRect() );
// left
aSpaceToPrevPage = aPageRect;
......
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