Skip to content

Commit

Permalink
Quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolaindjic committed Oct 16, 2024
1 parent 65a4276 commit f3f1fe6
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 @@ -1214,7 +1214,7 @@ protected function loadParagraph(XMLReader $document, DOMElement $oElement, $oSh
}
$oElementSpacingBefore = $document->getElement('a:spcBef/a:spcPts', $oSubElement);
if ($oElementSpacingBefore instanceof DOMElement) {
$oParagraph->setSpacingBefore((int)($oElementSpacingBefore->getAttribute('val') / 100));
$oParagraph->setSpacingBefore((int)((int)$oElementSpacingBefore->getAttribute('val') / 100));
}
$oElementSpacingAfter = $document->getElement('a:spcAft/a:spcPts', $oSubElement);
if ($oElementSpacingAfter instanceof DOMElement) {
Expand Down

0 comments on commit f3f1fe6

Please sign in to comment.