diff --git a/Classes/PHPExcel/Worksheet.php b/Classes/PHPExcel/Worksheet.php index f0e93a7e..cdcfb684 100644 --- a/Classes/PHPExcel/Worksheet.php +++ b/Classes/PHPExcel/Worksheet.php @@ -2558,6 +2558,9 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable $newCollection = clone $this->_cellCollection; $newCollection->copyCellCollection($this); $this->_cellCollection = $newCollection; + } elseif ($key == '_drawingCollection') { + $newCollection = clone $this->_drawingCollection; + $this->_drawingCollection = $newCollection; } else { $this->{$key} = unserialize(serialize($val)); } diff --git a/changelog.txt b/changelog.txt index c5123b68..969d4e9d 100644 --- a/changelog.txt +++ b/changelog.txt @@ -50,6 +50,7 @@ Fixed in SVN: - Bugfix: (MBaker) Work item 15094 - Merge cells 'un-merge' when using an existing spreadsheet - Bugfix: (MBaker) Work item 15129 - Worksheet fromArray() only working with 2-D arrays - Bugfix: (MBaker) Work item 15172 - rangeToarray function modified for non-existent cells +- Bugfix: (MBaker) Work item 14980 - Images not getting copyied with the ->clone function - General: (MBaker) Improved performance (speed), for building the Shared Strings table in the Excel2007 Writer.