From 540aebe68b86f86f3ffcbb77a2484702b8db8452 Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Wed, 11 Apr 2012 19:46:29 +0000 Subject: [PATCH] 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 --- Classes/PHPExcel/Worksheet.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/PHPExcel/Worksheet.php b/Classes/PHPExcel/Worksheet.php index 37a05d72..f54be5ad 100644 --- a/Classes/PHPExcel/Worksheet.php +++ b/Classes/PHPExcel/Worksheet.php @@ -335,7 +335,7 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable { // Set parent and title $this->_parent = $pParent; - $this->setTitle($pTitle); + $this->setTitle($pTitle, FALSE); $this->setSheetState(PHPExcel_Worksheet::SHEETSTATE_VISIBLE); $this->_cellCollection = PHPExcel_CachedObjectStorageFactory::getInstance($this); @@ -812,7 +812,7 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable } $altTitle = $pValue . ' ' . $i; - return $this->setTitle($altTitle); + return $this->setTitle($altTitle,$updateFormulaCellReferences); } // Set title