From 4fdd7a0b1f0028d99ead80e7fd7b503903cd528c Mon Sep 17 00:00:00 2001 From: nikolaindjic Date: Wed, 16 Oct 2024 14:31:17 +0200 Subject: [PATCH] quick fix #2 --- src/PhpPresentation/Reader/PowerPoint2007.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpPresentation/Reader/PowerPoint2007.php b/src/PhpPresentation/Reader/PowerPoint2007.php index a32de2a90..ecdeda06d 100644 --- a/src/PhpPresentation/Reader/PowerPoint2007.php +++ b/src/PhpPresentation/Reader/PowerPoint2007.php @@ -1218,7 +1218,7 @@ protected function loadParagraph(XMLReader $document, DOMElement $oElement, $oSh } $oElementSpacingAfter = $document->getElement('a:spcAft/a:spcPts', $oSubElement); if ($oElementSpacingAfter instanceof DOMElement) { - $oParagraph->setSpacingAfter((int)($oElementSpacingAfter->getAttribute('val') / 100)); + $oParagraph->setSpacingAfter((int)((int)$oElementSpacingAfter->getAttribute('val') / 100)); } $oParagraph->getBulletStyle()->setBulletType(Bullet::TYPE_NONE);