Kaydet (Commit) af151278 authored tarafından Muthu Subramanian's avatar Muthu Subramanian

Fixes crashing while loading manipulated pptx files.

üst 4daa3f54
...@@ -340,7 +340,8 @@ void Diagram::addTo( const ShapePtr & pParentShape ) ...@@ -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
......
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