Fix to use of $updateFormulaCellReferences flag in setTitle() method for worksheets
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@89095 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
parent
b1b4c77893
commit
540aebe68b
|
@ -335,7 +335,7 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable
|
||||||
{
|
{
|
||||||
// Set parent and title
|
// Set parent and title
|
||||||
$this->_parent = $pParent;
|
$this->_parent = $pParent;
|
||||||
$this->setTitle($pTitle);
|
$this->setTitle($pTitle, FALSE);
|
||||||
$this->setSheetState(PHPExcel_Worksheet::SHEETSTATE_VISIBLE);
|
$this->setSheetState(PHPExcel_Worksheet::SHEETSTATE_VISIBLE);
|
||||||
|
|
||||||
$this->_cellCollection = PHPExcel_CachedObjectStorageFactory::getInstance($this);
|
$this->_cellCollection = PHPExcel_CachedObjectStorageFactory::getInstance($this);
|
||||||
|
@ -812,7 +812,7 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable
|
||||||
}
|
}
|
||||||
|
|
||||||
$altTitle = $pValue . ' ' . $i;
|
$altTitle = $pValue . ' ' . $i;
|
||||||
return $this->setTitle($altTitle);
|
return $this->setTitle($altTitle,$updateFormulaCellReferences);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set title
|
// Set title
|
||||||
|
|
Loading…
Reference in New Issue