Fix for issue# 35716: additional check added in method hasRange to detect cellrange over a single cell

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353748 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Amol S. Deshmukh 2005-07-13 13:12:39 +00:00
parent 12b80bc7a5
commit 60a05ad411
1 changed files with 1 additions and 3 deletions

View File

@ -167,9 +167,7 @@ public class RangeAddress {
}
public boolean hasRange (){
if(m_cellFrom == null || m_cellTo == null)
return false;
return true;
return (m_cellFrom != null && m_cellTo != null && !m_cellFrom.equals(m_cellTo));
}
public boolean hasCell (){