summaryrefslogtreecommitdiff
path: root/oox/source/ppt/timenode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/ppt/timenode.cxx')
-rw-r--r--oox/source/ppt/timenode.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/oox/source/ppt/timenode.cxx b/oox/source/ppt/timenode.cxx
index 854797a9649c..9b77001aaff1 100644
--- a/oox/source/ppt/timenode.cxx
+++ b/oox/source/ppt/timenode.cxx
@@ -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 );
}