diff options
-rw-r--r-- | sd/source/filter/eppt/pptx-epptooxml.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx index dff7be277e04..ee392a600ce5 100644 --- a/sd/source/filter/eppt/pptx-epptooxml.cxx +++ b/sd/source/filter/eppt/pptx-epptooxml.cxx @@ -1126,11 +1126,11 @@ void PowerPointExport::WriteAnimationNodeCommonPropsStart( FSHelperPtr pFS, cons if( xEnumeration->hasMoreElements() ) { pFS->startElementNS( XML_p, XML_childTnLst, FSEND ); - while( xEnumeration->hasMoreElements() ) { + do { Reference< XAnimationNode > xChildNode( xEnumeration->nextElement(), UNO_QUERY ); if( xChildNode.is() ) WriteAnimationNode( pFS, xChildNode, nType == EffectNodeType::MAIN_SEQUENCE ); - } + } while( xEnumeration->hasMoreElements() ); pFS->endElementNS( XML_p, XML_childTnLst ); } |