summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorRadek Doulik <rodo@novell.com>2012-09-12 15:13:05 +0200
committerRadek Doulik <rodo@novell.com>2012-09-12 15:13:05 +0200
commit44653e1909593058799e1235b208b41a45955bda (patch)
treeac2e0b3605f748d0d4d38f64355bb5ba87bc4100 /sd
parentavoid writing empty p:childTnLst elements, fixes rest of fdo#41992 (diff)
downloadcore-44653e1909593058799e1235b208b41a45955bda.tar.gz
core-44653e1909593058799e1235b208b41a45955bda.zip
Revert "avoid writing empty p:childTnLst elements, fixes rest of fdo#41992"
This reverts commit b962b31a4e6709c5bf3d44e185f9f838de2051e2.
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/eppt/pptx-epptooxml.cxx17
1 files changed, 8 insertions, 9 deletions
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx
index 23be9b8c7c0e..dd36bd726a97 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -1127,17 +1127,16 @@ void PowerPointExport::WriteAnimationNodeCommonPropsStart( FSHelperPtr pFS, cons
if( xEnumeration.is() ) {
DBG(printf ("-----\n"));
- if( xEnumeration->hasMoreElements() ) {
- pFS->startElementNS( XML_p, XML_childTnLst, FSEND );
+ pFS->startElementNS( XML_p, XML_childTnLst, FSEND );
- while( xEnumeration->hasMoreElements() ) {
- Reference< XAnimationNode > xChildNode( xEnumeration->nextElement(), UNO_QUERY );
- if( xChildNode.is() )
- WriteAnimationNode( pFS, xChildNode, nType == EffectNodeType::MAIN_SEQUENCE );
- }
-
- pFS->endElementNS( XML_p, XML_childTnLst );
+ while( xEnumeration->hasMoreElements() ) {
+ Reference< XAnimationNode > xChildNode( xEnumeration->nextElement(), UNO_QUERY );
+ if( xChildNode.is() )
+ WriteAnimationNode( pFS, xChildNode, nType == EffectNodeType::MAIN_SEQUENCE );
}
+
+ pFS->endElementNS( XML_p, XML_childTnLst );
+
DBG(printf ("-----\n"));
}
}