diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/poi/hssf/record/RecordFactory.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/java/org/apache/poi/hssf/record/RecordFactory.java b/src/java/org/apache/poi/hssf/record/RecordFactory.java index e3a6b18ea4..08fc121ca3 100644 --- a/src/java/org/apache/poi/hssf/record/RecordFactory.java +++ b/src/java/org/apache/poi/hssf/record/RecordFactory.java @@ -133,7 +133,6 @@ public class RecordFactory { ArrayList records = new ArrayList(NUM_RECORDS); Record last_record = null; - int loc = 0; try { @@ -143,14 +142,12 @@ public class RecordFactory do { rectype = LittleEndian.readShort(in); - loc += 2; if (rectype != 0) { short recsize = LittleEndian.readShort(in); byte[] data = new byte[ ( int ) recsize ]; in.read(data); - loc += recsize; offset += 4 + recsize; Record[] recs = createRecord(rectype, recsize, data); // handle MulRK records |