[Libreoffice-commits] .: Branch 'libreoffice-3-6' - sot/source

Ivan Timofeev ivantimofeev at kemper.freedesktop.org
Wed Aug 15 20:50:59 PDT 2012


 sot/source/sdstor/stgelem.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1053dada25491ba5609ae47bef8766e379e96fd8
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date:   Wed Aug 15 14:06:06 2012 -0400

    Do not check the stored DIFAT sector count.
    
    Refer to this thread for details.
    http://lists.freedesktop.org/archives/libreoffice/2012-August/036852.html
    
    Change-Id: Id2115732a1e1bcd78c13445f5aaefe1ec7cfa0c2
    (cherry picked from commit 50d89530eee57afb890e2e65aac8a5b0f93a74a3)
    
    Signed-off-by: Ivan Timofeev <timofeev.i.s at gmail.com>

diff --git a/sot/source/sdstor/stgelem.cxx b/sot/source/sdstor/stgelem.cxx
index d63398c..7048e77 100644
--- a/sot/source/sdstor/stgelem.cxx
+++ b/sot/source/sdstor/stgelem.cxx
@@ -203,7 +203,7 @@ sal_Bool StgHeader::Check()
             && nTOCstrm >= 0
             && nThreshold > 0
             && ( nDataFAT == -2 || ( nDataFAT >= 0 && nDataFATSize > 0 ) )
-            && ( nMasterChain == -2 || ( nMasterChain >=0 && nMaster > 109 ) )
+            && ( nMasterChain == -2 || nMasterChain >=0 )
             && nMaster >= 0;
 }
 


More information about the Libreoffice-commits mailing list