Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 08/15/2012 12:12 PM, Kohei Yoshida wrote:
Ah.  Now I know.  Ultimately the failure is due to StgHeader::Check()
returning false on Large-Word.doc.

http://opengrok.libreoffice.org/xref/core/sot/source/sdstor/stgelem.cxx#186

Changing this method to always return true leads to Writer loading the
file correctly.

And the check that fails is this:

( nMasterChain == -2 || ( nMasterChain >=0 && nMaster > 109 ) )

where nMasterChain == 24269 and nMaster == 2. Since nMaster > 109 is false, it returns false, and the whole thing starts to crumble...

--
Kohei Yoshida, LibreOffice hacker, Calc

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.