[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - sc/source

Maxim Monastirsky momonasmon at gmail.com
Mon Oct 28 06:54:27 PDT 2013


 sc/source/ui/unoobj/exceldetect.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 942aeb23bfdd7322ad9e239f19115ec9ceac6020
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date:   Sun Oct 27 13:01:12 2013 +0200

    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 at googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    (cherry picked from commit 71882916f617528a6d6fcc54450674dc3f630319)
    Reviewed-on: https://gerrit.libreoffice.org/6464
    Reviewed-by: Kohei Yoshida <libreoffice at kohei.us>
    Tested-by: Kohei Yoshida <libreoffice at kohei.us>

diff --git a/sc/source/ui/unoobj/exceldetect.cxx b/sc/source/ui/unoobj/exceldetect.cxx
index fb15a3c..e87d27a 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;


More information about the Libreoffice-commits mailing list