Kaydet (Commit) c37575d3 authored tarafından Radek Doulik's avatar Radek Doulik

small optimization

Change-Id: I236d6580f92ad7c0269c42471f187f5ce7b8094d
üst b0759366
...@@ -1126,11 +1126,11 @@ void PowerPointExport::WriteAnimationNodeCommonPropsStart( FSHelperPtr pFS, cons ...@@ -1126,11 +1126,11 @@ void PowerPointExport::WriteAnimationNodeCommonPropsStart( FSHelperPtr pFS, cons
if( xEnumeration->hasMoreElements() ) { if( xEnumeration->hasMoreElements() ) {
pFS->startElementNS( XML_p, XML_childTnLst, FSEND ); pFS->startElementNS( XML_p, XML_childTnLst, FSEND );
while( xEnumeration->hasMoreElements() ) { do {
Reference< XAnimationNode > xChildNode( xEnumeration->nextElement(), UNO_QUERY ); Reference< XAnimationNode > xChildNode( xEnumeration->nextElement(), UNO_QUERY );
if( xChildNode.is() ) if( xChildNode.is() )
WriteAnimationNode( pFS, xChildNode, nType == EffectNodeType::MAIN_SEQUENCE ); WriteAnimationNode( pFS, xChildNode, nType == EffectNodeType::MAIN_SEQUENCE );
} } while( xEnumeration->hasMoreElements() );
pFS->endElementNS( XML_p, XML_childTnLst ); pFS->endElementNS( XML_p, XML_childTnLst );
} }
......
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