Kaydet (Commit) eedae044 authored tarafından Miklos Vajna's avatar Miklos Vajna

coverity#1158082 Unchecked dynamic_cast

Change-Id: Ia70d73d64af020c546a0218b996334959ca6b624
üst 8282656f
......@@ -616,6 +616,8 @@ namespace sw { namespace mark
// is on position ??
bool bChangedPos = false, bChangedOPos = false;
::sw::mark::MarkBase* const pMark = dynamic_cast< ::sw::mark::MarkBase* >(ppMark->get());
if (!pMark)
continue;
if(&pMark->GetMarkPos().nNode.GetNode() == pOldNode)
{
SwPosition aNewPosRel(aNewPos);
......
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