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:
parent
12b80bc7a5
commit
60a05ad411
@ -167,9 +167,7 @@ public class RangeAddress {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean hasRange (){
|
public boolean hasRange (){
|
||||||
if(m_cellFrom == null || m_cellTo == null)
|
return (m_cellFrom != null && m_cellTo != null && !m_cellFrom.equals(m_cellTo));
|
||||||
return false;
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean hasCell (){
|
public boolean hasCell (){
|
||||||
|
Loading…
Reference in New Issue
Block a user