]> source.dussan.org Git - poi.git/commitdiff
Removed the containsLabels variable
authorJason Height <jheight@apache.org>
Fri, 26 Aug 2005 03:45:55 +0000 (03:45 +0000)
committerJason Height <jheight@apache.org>
Fri, 26 Aug 2005 03:45:55 +0000 (03:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353775 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/poi/hssf/model/Sheet.java

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