[Libreoffice-bugs] [Bug 41425] FILESAVE: No Data Validation in Saved XLS and XLSX

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Aug 4 22:31:28 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=41425

--- Comment #17 from Martin Spacek <tdf at mspacek.mm.st> ---
This comment by Aron Budea sounds like a promising start at narrowing down the
root cause in the code:

https://bugs.documentfoundation.org/show_bug.cgi?id=106720#c5

Quoting:

The bug seems to be in XclExpCellTable::XclExpCellTable( const XclExpRoot&
rRoot ).
http://opengrok.libreoffice.org/xref/core/sc/source/filter/excel/xetable.cxx#2437

This is where validation data is collected:
if( ScfTools::CheckItem( rItemSet, ATTR_VALIDDATA, false ) )
http://opengrok.libreoffice.org/xref/core/sc/source/filter/excel/xetable.cxx#2641

However, the large loop in that function ends with the last row where there's
data, and in this case there's no more data in rows 4-5, so they aren't
considered: the application exits the loop before being able to take care of
the validation data there.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170804/1c9d6d61/attachment.html>


More information about the Libreoffice-bugs mailing list