Skip to content

Commit 8b4a2da

Browse files
committed
#227 : Bug in Animation Writing for Dev Branch
1 parent 8fcf272 commit 8b4a2da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpPresentation/Writer/PowerPoint2007/PptSlides.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ protected function writeSlideAnimations(XMLWriter $objWriter, Slide $oSlide)
538538
$arrayAnimationIds = array();
539539

540540
foreach ($oSlide->getShapeCollection() as $shape) {
541-
$hashToIdMap[$shape->getHashCode()] = $shapeId++;
541+
$hashToIdMap[$shape->getHashCode()] = ++$shapeId;
542542
}
543543
foreach ($arrayAnimations as $oAnimation) {
544544
foreach ($oAnimation->getShapeCollection() as $oShape) {

0 commit comments

Comments
 (0)