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

coverity#1213082 Dereference after null check

Change-Id: Ifbc5de648c2dac23d8616d436a7a78bf1b2adb0d
üst 7f21b562
......@@ -2478,6 +2478,10 @@ void SwCrsrShell::_ParkPams( SwPaM* pDelRg, SwShellCrsr** ppDelRing )
// search over the whole ring
bool bGoNext;
do {
if (!pTmp)
break;
const SwPosition *pTmpStt = pTmp->Start(),
*pTmpEnd = pTmp->GetPoint() == pTmpStt ?
pTmp->GetMark() : pTmp->GetPoint();
......
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