diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2013-10-27 13:01:12 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2013-10-28 19:28:05 +0100 |
commit | 9bf1f12471511ae4bb2e4186ed55f61276fff5ef (patch) | |
tree | 74fb189108f4cc74054b0069fb7c0db09d249084 | |
parent | 3ce5507dfd91983555eaf9f96703e6b318e16201 (diff) |
fdo#70100 Detect single stream excel files with BOF ID 5
Change-Id: I321b7a08e0436a9c33878acd1ce2f98c497040b5
Reviewed-on: https://gerrit.libreoffice.org/6447
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
(cherry picked from commit 71882916f617528a6d6fcc54450674dc3f630319)
Reviewed-on: https://gerrit.libreoffice.org/6464
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
-rw-r--r-- | sc/source/ui/unoobj/exceldetect.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/unoobj/exceldetect.cxx b/sc/source/ui/unoobj/exceldetect.cxx index fb15a3cbbbc3..e87d27a7b736 100644 --- a/sc/source/ui/unoobj/exceldetect.cxx +++ b/sc/source/ui/unoobj/exceldetect.cxx @@ -102,6 +102,7 @@ bool isExcel40(const uno::Reference<io::XInputStream>& xInStream) case 0x0009: // Excel 2.1 worksheet (BIFF 2) case 0x0209: // Excel 3.0 worksheet (BIFF 3) case 0x0409: // Excel 4.0 worksheet (BIFF 4) + case 0x0809: // Excel 5.0 worksheet (BIFF 5), some apps create such files (fdo#70100) break; default: return false; |