Kaydet (Commit) 9fda4ee0 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

CID#1158520: use after free

üst d27fcc53
......@@ -3674,7 +3674,8 @@ sal_Bool SAL_CALL SwAccessibleParagraph::removeSelection( sal_Int32 selectionInd
}
}
// else: this PaM is collapsed and doesn't select anything
pCrsr = static_cast<SwPaM*>( pCrsr->GetNext() );
if(!bRet)
pCrsr = static_cast<SwPaM*>( pCrsr->GetNext() );
}
while( !bRet && (pCrsr != pRingStart) );
}
......
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