Skip to content

Commit f63b7f2

Browse files
committed
Merge pull request #229 from Progi1984/issue227
#227 : Bug in Animation Writing for Dev Branch
2 parents 8fcf272 + 8b4a2da commit f63b7f2

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)