ofz: Null-dereference
Change-Id: Ib058458860f606736455ae997a6f7f74de5585bf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133104 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -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())
|
||||
|
Reference in New Issue
Block a user