coverity#1158081 Unchecked dynamic_cast
Change-Id: Ia67656ac35d50c1f70045ff8e9084bcc54b0d9a8
This commit is contained in:
@@ -573,6 +573,8 @@ namespace sw { namespace mark
|
||||
++ppMark)
|
||||
{
|
||||
::sw::mark::MarkBase* pMark = dynamic_cast< ::sw::mark::MarkBase* >(ppMark->get());
|
||||
if (!pMark)
|
||||
continue;
|
||||
// is on position ??
|
||||
bool bChangedPos = false;
|
||||
if(&pMark->GetMarkPos().nNode.GetNode() == pOldNode)
|
||||
|
Reference in New Issue
Block a user