diff options
Diffstat (limited to 'oox/source/ppt/slidepersist.cxx')
-rw-r--r-- | oox/source/ppt/slidepersist.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/oox/source/ppt/slidepersist.cxx b/oox/source/ppt/slidepersist.cxx index e90f2365fefc..bd7f32b5ef14 100644 --- a/oox/source/ppt/slidepersist.cxx +++ b/oox/source/ppt/slidepersist.cxx @@ -361,6 +361,8 @@ void SlidePersist::createConnectorShapeConnection() { OUString aDestShapeId = aConnectorShapeProperties[j].maDestShapeId; const auto& pShape = maShapeMap.find(aDestShapeId); + if (pShape == maShapeMap.end()) + continue; uno::Reference<drawing::XShape> xShape(pShape->second->getXShape(), uno::UNO_QUERY); uno::Reference<beans::XPropertySet> xSet(xShape, uno::UNO_QUERY); if (xShape.is()) |