Removed the containsLabels variable

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353775 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason Height 2005-08-26 03:45:55 +00:00
parent a44b51ac5a
commit c436edb4d4

View File

@ -65,7 +65,6 @@ public class Sheet implements Model
protected ArrayList records = null; protected ArrayList records = null;
int preoffset = 0; // offset of the sheet in a new file int preoffset = 0; // offset of the sheet in a new file
int loc = 0; int loc = 0;
protected boolean containsLabels = false;
protected int dimsloc = 0; protected int dimsloc = 0;
protected DimensionsRecord dims; protected DimensionsRecord dims;
protected DefaultColWidthRecord defaultcolwidth = null; protected DefaultColWidthRecord defaultcolwidth = null;
@ -138,13 +137,7 @@ public class Sheet implements Model
{ {
Record rec = ( Record ) recs.get(k); Record rec = ( Record ) recs.get(k);
if (rec.getSid() == LabelRecord.sid) if (rec.getSid() == BOFRecord.sid)
{
if (log.check( POILogger.DEBUG ))
log.log(POILogger.DEBUG, "Hit label record.");
retval.containsLabels = true;
}
else if (rec.getSid() == BOFRecord.sid)
{ {
bofEofNestingLevel++; bofEofNestingLevel++;
if (log.check( POILogger.DEBUG )) if (log.check( POILogger.DEBUG ))