Kaydet (Commit) 8b20381b authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz#14422 null deref

Change-Id: Icd00e2aaa5932564668cd12ce4ee63aecc34419a
Reviewed-on: https://gerrit.libreoffice.org/71226
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 3e898d3c
...@@ -1290,6 +1290,12 @@ bool LayoutNode::setupShape( const ShapePtr& rShape, const dgm::Point* pPresNode ...@@ -1290,6 +1290,12 @@ bool LayoutNode::setupShape( const ShapePtr& rShape, const dgm::Point* pPresNode
continue; continue;
} }
if (!aDataNode2->second->mpShape)
{
//busted, skip it
continue;
}
rShape->setDataNodeType(aDataNode2->second->mnType); rShape->setDataNodeType(aDataNode2->second->mnType);
if (rItem.mnDepth == 0) if (rItem.mnDepth == 0)
......
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