Kaydet (Commit) 9fba813b authored tarafından Caolán McNamara's avatar Caolán McNamara

forcepoint #8 null deref

Change-Id: I29450ab45eba5cccfbfff4744c853e2e70ce679e
Reviewed-on: https://gerrit.libreoffice.org/50291Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 9932cbe1
......@@ -1913,9 +1913,14 @@ bool SvxCustomShape::getPropertyValueImpl( const OUString& rName, const SfxItemP
}
}
void SvxCustomShape::createCustomShapeDefaults( const OUString& rValueType )
{
if (!mpObj.is())
{
OSL_FAIL("could not create Custom Shape Defaults!");
return;
}
static_cast<SdrObjCustomShape*>(mpObj.get())->MergeDefaultAttributes( &rValueType );
}
......
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