summaryrefslogtreecommitdiff
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-08-15 18:06:06 (GMT)
committer Kohei Yoshida <kohei.yoshida@gmail.com>2012-08-15 18:08:28 (GMT)
commit50d89530eee57afb890e2e65aac8a5b0f93a74a3 (patch) (side-by-side diff)
tree2e0908e301b25e2592987609d9a624adacbac12b
parent105cd5ea833d2d6dc23d2df3f303073ec6bd9929 (diff)
downloadcore-50d89530eee57afb890e2e65aac8a5b0f93a74a3.zip
core-50d89530eee57afb890e2e65aac8a5b0f93a74a3.tar.gz
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
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--sot/source/sdstor/stgelem.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}