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

coverity#704911 Dereference after null check

Change-Id: Ifd556b56230f359b2d8b95795686a4a6803fa6dc
üst 09d79da1
...@@ -2159,7 +2159,7 @@ void SwRootFrm::CheckViewLayout( const SwViewOption* pViewOpt, const SwRect* pVi ...@@ -2159,7 +2159,7 @@ void SwRootFrm::CheckViewLayout( const SwViewOption* pViewOpt, const SwRect* pVi
} }
} }
} }
while ( pPageToAdjust != pEndOfRow ); while (pPageToAdjust && pPageToAdjust != pEndOfRow);
// adjust values for root frame size // adjust values for root frame size
nSumRowHeight = nSumRowHeight + nCurrentRowHeight; nSumRowHeight = nSumRowHeight + nCurrentRowHeight;
......
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