Skip to content

Commit

Permalink
quick fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolaindjic committed Oct 16, 2024
1 parent f3f1fe6 commit 4fdd7a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhpPresentation/Reader/PowerPoint2007.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4fdd7a0

Please sign in to comment.