Kaydet (Commit) 0bbf91e3 authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz#9892 Null-dereference

Change-Id: I8ab1948e5760da365bdddaf45955912a18b20ead
Reviewed-on: https://gerrit.libreoffice.org/59055
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 0815f346
......@@ -101,7 +101,9 @@ ContextHandlerRef ShapeContext::onCreateContext( sal_Int32 aElementToken, const
}
case XML_txXfrm:
{
mpShapePtr->getTextBody()->getTextProperties().moRotation = rAttribs.getInteger( XML_rot );
const TextBodyPtr& rShapePtr = mpShapePtr->getTextBody();
if (rShapePtr)
rShapePtr->getTextProperties().moRotation = rAttribs.getInteger( XML_rot );
return nullptr;
}
case XML_cNvSpPr:
......
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