diff options
-rw-r--r-- | sc/source/filter/excel/read.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/source/filter/excel/read.cxx b/sc/source/filter/excel/read.cxx index d68fc5147b34..8b7eacaae142 100644 --- a/sc/source/filter/excel/read.cxx +++ b/sc/source/filter/excel/read.cxx @@ -848,6 +848,14 @@ FltError ImportExcel8::Read( void ) nProgressBaseSize += (aIn.GetSvStreamPos() - nProgressBasePos); nProgressBasePos = maSheetOffsets[ nScTab ]; aIn.StartNextRecord( nProgressBasePos ); + while (aIn.GetRecId() != EXC_ID5_BOF) + { + // i#115255 Some malformed documents generated by 3rd + // party Russian program(s) occasionally insert non BOF + // record(s) at position indicated by BOUNDSHEET. Skip + // them. + aIn.StartNextRecord(); + } } else eAkt = EXC_STATE_END; |