From 750395571c6c9ce864b047c6d7640cbdf87d5a4f Mon Sep 17 00:00:00 2001 From: Avik Sengupta Date: Thu, 31 Jul 2003 19:01:47 +0000 Subject: [PATCH] bug 19961, John Lloyd git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353274 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/hssf/model/Sheet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/poi/hssf/model/Sheet.java b/src/java/org/apache/poi/hssf/model/Sheet.java index 881a6790f4..6e062eb6a2 100644 --- a/src/java/org/apache/poi/hssf/model/Sheet.java +++ b/src/java/org/apache/poi/hssf/model/Sheet.java @@ -1910,7 +1910,7 @@ public class Sheet implements Model for (k = 0; k < columnSizes.size(); k++) { ci = ( ColumnInfoRecord ) columnSizes.get(k); - if ((ci.getFirstColumn() >= column) + if ((column >= ci.getFirstColumn()) && (column <= ci.getLastColumn())) { break; -- 2.39.5