From 457f826fa6ca1fce1ae767007e501d193dde19d4 Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Mon, 27 Dec 2010 22:43:11 +0000 Subject: [PATCH] Bugfix: Work item 14973 - PHPExcel_Cell::isInRange() incorrect results - offset by one column git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65968 2327b42d-5241-43d6-9e2a-de5ac946f064 --- Classes/PHPExcel/Cell.php | 2 +- changelog.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Classes/PHPExcel/Cell.php b/Classes/PHPExcel/Cell.php index 66363355..aa685d44 100644 --- a/Classes/PHPExcel/Cell.php +++ b/Classes/PHPExcel/Cell.php @@ -480,7 +480,7 @@ class PHPExcel_Cell list($rangeStart,$rangeEnd) = PHPExcel_Cell::rangeBoundaries($pRange); // Translate properties - $myColumn = PHPExcel_Cell::columnIndexFromString($this->getColumn()) - 1; + $myColumn = PHPExcel_Cell::columnIndexFromString($this->getColumn()); $myRow = $this->getRow(); // Verify if cell is in range diff --git a/changelog.txt b/changelog.txt index 0128f58c..1593222c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -29,6 +29,7 @@ Fixed in SVN: - Bugfix: (MBaker) Work item 14888 - Simple =IF() formula disappears - Bugfix: (MBaker) Work item 14898 - PHP Warning: preg_match(): Compilation failed: PCRE does not support \\L, \\l, \\N, \\P, \\p, \\U, \\u, or \\X - Bugfix: (MBaker) Work item 14901 - VLOOKUP choking on parameters in PHPExcel.1.7.5/PHPExcel_Writer_Excel2007 +- Bugfix: (MBaker) Work item 14973 - PHPExcel_Cell::isInRange() incorrect results - offset by one column 2010-12-10 (v1.7.5):