Created attachment 51070 [details] Source XLS file In the daily builds of LibO dev-3.5 dated 2011-09-06 and 2011-09-12 (taken from http://dev-builds.libreoffice.org/daily/Windows_XP_SP3/master/), some Microsoft Excel files (XLS) are imported incorrectly with numbers zeroed. Found in MS Windows 7 Pro. Attaching a test case: a source XLS file, a file as imported by dev-3.5 and a file as imported by 3.4.3 (correct import, all numbers are OK).
Created attachment 51071 [details] File as imported by LibO dev-3.5
Created attachment 51072 [details] File as imported by LibO 3.4.3
> In the daily builds of LibO dev-3.5 dated 2011-09-06 and 2011-09-12 Sorry, the latter build tested was of 2011-09-10, not of 2011-09-12.
set correct version
it is an annoying bug, also breaks sc's filters-test on windows windows only bug, but looses several cell entries during import see also sc/qa/unit/data/xls/matrix.xls and sc/qa/unit/data/xls/formats.xls
it is only reproducable with a windows build or a mingw build I hope that I'll be able to get a debug build soon, so that I can have a look into it
This looks pretty annoying. I add Kohei into CC to put it on his radar as well. Marcus, if you could fix it, it would be great.
I think I found the problem and I think I know why that is a windows only problem. Seems to be the result of some refactoring in the SvStream code. Will push a fix soon.
fixed with http://cgit.freedesktop.org/libreoffice/core/commit/?id=125aa32e71eb9a8de6214a7f7bc3e3be13b14a7a tested with a mingw build