diff --git a/Classes/PHPWord/Style/Paragraph.php b/Classes/PHPWord/Style/Paragraph.php index 628f9791..d7e7f508 100755 --- a/Classes/PHPWord/Style/Paragraph.php +++ b/Classes/PHPWord/Style/Paragraph.php @@ -103,10 +103,10 @@ class PHPWord_Style_Paragraph public function setStyleValue($key, $value) { if ($key == '_indent') { - $value = (int)$value * 720; // 720 twips per indent + $value = $value * 720; // 720 twips per indent } if ($key == '_hanging') { - $value =(int)$value * 720; + $value = $value * 720; } if ($key == '_spacing') { $value += 240; // because line height of 1 matches 240 twips