diff --git a/src/java/org/apache/poi/hssf/model/Sheet.java b/src/java/org/apache/poi/hssf/model/Sheet.java index 750dbca238..710d57118d 100644 --- a/src/java/org/apache/poi/hssf/model/Sheet.java +++ b/src/java/org/apache/poi/hssf/model/Sheet.java @@ -69,7 +69,7 @@ import org.apache.poi.hssf.record.aggregates.PageSettingsBlock; import org.apache.poi.hssf.record.aggregates.RecordAggregate; import org.apache.poi.hssf.record.aggregates.RowRecordsAggregate; import org.apache.poi.hssf.record.aggregates.RecordAggregate.RecordVisitor; -import org.apache.poi.ss.util.CellRangeAddress; +import org.apache.poi.hssf.util.CellRangeAddress; import org.apache.poi.hssf.util.PaneInformation; import org.apache.poi.util.POILogFactory; import org.apache.poi.util.POILogger; diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java b/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java index 72c95159af..e61d7a1cc8 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java @@ -641,8 +641,8 @@ public class HSSFSheet implements org.apache.poi.ss.usermodel.Sheet /** * @return the merged region at the specified index */ - public CellRangeAddress getMergedRegion(int index) { - return (CellRangeAddress)sheet.getMergedRegionAt(index); + public org.apache.poi.hssf.util.CellRangeAddress getMergedRegion(int index) { + return sheet.getMergedRegionAt(index); } /**