Fixes crashing while loading manipulated pptx files.
This commit is contained in:
parent
4daa3f5443
commit
af15127871
1 changed files with 2 additions and 1 deletions
|
@ -340,7 +340,8 @@ void Diagram::addTo( const ShapePtr & pParentShape )
|
||||||
|
|
||||||
// create Shape hierarchy
|
// create Shape hierarchy
|
||||||
ShapeCreationVisitor aCreationVisitor(pParentShape, *this);
|
ShapeCreationVisitor aCreationVisitor(pParentShape, *this);
|
||||||
mpLayout->getNode()->accept(aCreationVisitor);
|
if( mpLayout->getNode() )
|
||||||
|
mpLayout->getNode()->accept( aCreationVisitor );
|
||||||
}
|
}
|
||||||
|
|
||||||
OUString Diagram::getLayoutId() const
|
OUString Diagram::getLayoutId() const
|
||||||
|
|
Loading…
Reference in a new issue