summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-08-15 14:06:06 -0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-08-16 07:50:26 +0400
commit1053dada25491ba5609ae47bef8766e379e96fd8 (patch)
treec9670d1386e0586741a7736bbac0bbea5fe1886a /sot
parentad9f60fc4ccc17b99bd104e4dc1a64bbd7b73132 (diff)
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@gmail.com>
Diffstat (limited to 'sot')
-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 d63398cfa67d..7048e77061ca 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;
}