diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFOptimiser.java b/src/java/org/apache/poi/hssf/usermodel/HSSFOptimiser.java index 66327d941..50489ef24 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFOptimiser.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFOptimiser.java @@ -17,11 +17,12 @@ package org.apache.poi.hssf.usermodel; import java.util.HashSet; -import java.util.Iterator; import org.apache.poi.hssf.record.ExtendedFormatRecord; import org.apache.poi.hssf.record.FontRecord; import org.apache.poi.hssf.record.common.UnicodeString; +import org.apache.poi.ss.usermodel.Cell; +import org.apache.poi.ss.usermodel.Row; /** * Excel can get cranky if you give it files containing too @@ -135,17 +136,13 @@ public class HSSFOptimiser { // the new locations of the fonts // Remember that one underlying unicode string // may be shared by multiple RichTextStrings! - HashSet doneUnicodeStrings = new HashSet(); + HashSet doneUnicodeStrings = new HashSet(); for(int sheetNum=0; sheetNum