[Libreoffice-commits] .: sd/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Sep 12 06:20:53 PDT 2012
sd/source/filter/eppt/pptx-epptooxml.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit c37575d3cd0b9ac36fce62d8f3f5c75566644e36
Author: Radek Doulik <rodo at novell.com>
Date: Wed Sep 12 15:19:08 2012 +0200
small optimization
Change-Id: I236d6580f92ad7c0269c42471f187f5ce7b8094d
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx
index dff7be2..ee392a6 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 );
}
More information about the Libreoffice-commits
mailing list