skip incorrect MMSRecord in xls

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@938372 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Maxim Valyanskiy 2010-04-27 09:24:52 +00:00
parent 752dae496d
commit f2fbd74860
1 changed files with 4 additions and 0 deletions

View File

@ -43,6 +43,10 @@ public final class MMSRecord
public MMSRecord(RecordInputStream in)
{
if (in.remaining()==0) {
return;
}
field_1_addMenuCount = in.readByte();
field_2_delMenuCount = in.readByte();
}