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

ofz#9932 Null-deref

Change-Id: I6a917e118fa9263069c13122765fc6c1ace2bddb
Reviewed-on: https://gerrit.libreoffice.org/59183Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 8efdce75
......@@ -205,6 +205,8 @@ namespace oox { namespace ppt {
OUString sServiceName = getServiceName(nNodeType);
Reference< XAnimationNode > xNode = createAndInsert( rFilter, sServiceName, rxNode );
if (!xNode)
return;
setNode(rFilter, xNode, pSlide, rxNode);
}
catch( const Exception& e )
......@@ -236,7 +238,7 @@ namespace oox { namespace ppt {
if( !maStCondList.empty() )
{
Any aAny = AnimationCondition::convertList( pSlide, maStCondList );
if( aAny.hasValue() )
if( aAny.hasValue() )
{
xNode->setBegin( aAny );
}
......
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