[PATCH][RESEND] Writer - cross-references to numbered paragraphs still wrong (bug ID 36960)

Troy Rollo troy at troy.rollo.name
Fri Aug 16 20:06:21 PDT 2013


Bug 36960 was never fixed correctly (or rather, I suspect it was fixed, then 
broken when work was done to make the tests pass). The attached patch fixes 
the bug and adds new tests for cross-references to numbered paragraphs. The 
nature of the bug is that if you have numbered paragraphs like this:

   1. one
        (a) two
        (b) three
   2. four
        (a) five

a cross reference in paragraph 2(a), to paragraph 1(a), returns "1.(a)", which 
is not correct.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130817/8a808e1d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CheckCrossReferences.odt
Type: application/vnd.oasis.opendocument.text
Size: 17626 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130817/8a808e1d/attachment.odt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: numbers.diff
Type: text/x-patch
Size: 2609 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130817/8a808e1d/attachment.bin>


More information about the LibreOffice mailing list