File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1510,10 +1510,9 @@ public function load($pFilename)
1510
1510
$ objDrawing ->setOffsetY (PHPExcel_Shared_Drawing::EMUToPixels ($ twoCellAnchor ->from ->rowOff ));
1511
1511
$ objDrawing ->setResizeProportional (false );
1512
1512
1513
- $ objDrawing ->setWidth (PHPExcel_Shared_Drawing::EMUToPixels (self ::array_item ($ xfrm ->ext ->attributes (), "cx " )));
1514
- $ objDrawing ->setHeight (PHPExcel_Shared_Drawing::EMUToPixels (self ::array_item ($ xfrm ->ext ->attributes (), "cy " )));
1515
-
1516
1513
if ($ xfrm ) {
1514
+ $ objDrawing ->setWidth (PHPExcel_Shared_Drawing::EMUToPixels (self ::array_item ($ xfrm ->ext ->attributes (), "cx " )));
1515
+ $ objDrawing ->setHeight (PHPExcel_Shared_Drawing::EMUToPixels (self ::array_item ($ xfrm ->ext ->attributes (), "cy " )));
1517
1516
$ objDrawing ->setRotation (PHPExcel_Shared_Drawing::angleToDegrees (self ::array_item ($ xfrm ->attributes (), "rot " )));
1518
1517
}
1519
1518
if ($ outerShdw ) {
You can’t perform that action at this time.
0 commit comments