diff --git a/src/PhpPowerpoint/Writer/ODPresentation/Content.php b/src/PhpPowerpoint/Writer/ODPresentation/Content.php index 4d0fbc85c..28c7ca24c 100644 --- a/src/PhpPowerpoint/Writer/ODPresentation/Content.php +++ b/src/PhpPowerpoint/Writer/ODPresentation/Content.php @@ -368,7 +368,7 @@ public function writePic(XMLWriter $objWriter, AbstractDrawing $shape, $shapeId) $objWriter->startElement('draw:image'); if ($shape instanceof Drawing) { $objWriter->writeAttribute('xlink:href', 'Pictures/' . md5($shape->getPath()) . '.' . $shape->getExtension()); - } elseif($shape instanceof MemoryDrawing) { + } elseif ($shape instanceof MemoryDrawing) { $objWriter->writeAttribute('xlink:href', 'Pictures/' . $shape->getIndexedFilename()); } $objWriter->writeAttribute('xlink:type', 'simple');