Bugfix: Work item 14980 - Images not getting copyied with the ->clone function

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67525 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
Mark Baker 2011-01-28 23:09:02 +00:00
parent c1fe7016ab
commit 5e27d037bc
2 changed files with 4 additions and 0 deletions

View File

@ -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));
}

View File

@ -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.