parent
01b10a9a29
commit
f9d3edc2bd
@ -0,0 +1,29 @@
|
|||||||
|
From 50d89530eee57afb890e2e65aac8a5b0f93a74a3 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Kohei Yoshida <kohei.yoshida@gmail.com>
|
||||||
|
Date: Wed, 15 Aug 2012 14:06:06 -0400
|
||||||
|
Subject: [PATCH] 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
|
||||||
|
---
|
||||||
|
sot/source/sdstor/stgelem.cxx | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/sot/source/sdstor/stgelem.cxx b/sot/source/sdstor/stgelem.cxx
|
||||||
|
index 5fb3a09..dfcc28a 100644
|
||||||
|
--- a/sot/source/sdstor/stgelem.cxx
|
||||||
|
+++ b/sot/source/sdstor/stgelem.cxx
|
||||||
|
@@ -194,7 +194,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;
|
||||||
|
}
|
||||||
|
|
||||||
|
--
|
||||||
|
1.7.11.4
|
||||||
|
|
Loading…
Reference in new issue