summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2013-10-27 13:01:12 +0200
committerKohei Yoshida <libreoffice@kohei.us>2013-10-28 13:54:06 +0000
commit942aeb23bfdd7322ad9e239f19115ec9ceac6020 (patch)
tree3f216ea4438c64e14bde915eae73a887903adcc7 /sc
parent223e1295b8f553228951d5165d8c3ee052c45944 (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>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/unoobj/exceldetect.cxx1
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;