[Libreoffice] [REVIEW] fix for fdo#37319: don't write invalid references to odf files

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Aug 8 20:04:35 PDT 2011


this patch removes entries like #REF! A1:A3 for named ranges when the sheet
referenced by the named range is no longer there. I implemented Regina's
first suggestion because I don't see a way to implement the other version
with our current formula api.

All in all this should be quite a save fix since I only added checks that
the ScTokenArray contains no error and that the reference is valid.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110809/d32332b7/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-for-fdo-37391-don-t-write-invalid-references-to-.patch
Type: text/x-patch
Size: 3518 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110809/d32332b7/attachment.bin>

More information about the LibreOffice mailing list