Bugfix: Workitem 14425 - Wrong exception message while deleting column

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62433 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
Mark Baker 2010-10-19 12:24:39 +00:00
parent a73633f130
commit af3300e387
2 changed files with 1176 additions and 1175 deletions

View File

@ -1811,7 +1811,7 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable
if ($pColumn >= 0) { if ($pColumn >= 0) {
return $this->removeColumn(PHPExcel_Cell::stringFromColumnIndex($pColumn), $pNumCols); return $this->removeColumn(PHPExcel_Cell::stringFromColumnIndex($pColumn), $pNumCols);
} else { } else {
throw new Exception("Columns can only be inserted before at least column A (0)."); throw new Exception("Columns to be deleted should at least start from column 0");
} }
} }

View File

@ -50,6 +50,7 @@ Fixed in SVN:
- Bugfix: (MBaker) Modified PHPExcel_Shared_Date::isDateTimeFormatCode() to return false if format code begins with "_" or with "0 " to prevent false positives - Bugfix: (MBaker) Modified PHPExcel_Shared_Date::isDateTimeFormatCode() to return false if format code begins with "_" or with "0 " to prevent false positives
These leading characters are most commonly associated with number, currency or accounting (or occasionally fraction) formats These leading characters are most commonly associated with number, currency or accounting (or occasionally fraction) formats
- Bugfix: (MBaker) Workitem 14374 - BUG : Excel5 and setReadFilter ? - Bugfix: (MBaker) Workitem 14374 - BUG : Excel5 and setReadFilter ?
- Bugfix: (MBaker) Workitem 14425 - Wrong exception message while deleting column
2010-08-26 (v1.7.4): 2010-08-26 (v1.7.4):