https://bugs.freedesktop.org/show_bug.cgi?id=55820
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #7 from [email protected] --- Converting to odt instead of docx does not trigger the bug. In converted.docx/word/document.xml, the problem is caused by </w:hyperlink><w:hyperlink r:id="rId2"> The docx output filter writes these items in the wrong order. sw/source/filter/ww8/docxattributeoutput.hxx declares two private booleans: // close of hyperlink needed bool m_closeHyperlinkInThisRun; bool m_closeHyperlinkInPreviousRun; The body uses them to store persistent information across DOM callbacks. Initialization sets them to FF EndURL() sets the former to V VF -> EndRun() -> FF (serialize an end element late) VF -> RunText() -> FV FV -> EndRun() -> FF (serialize an end element quick) I fail to understand the detail right now, but I strongly guess that: - since the hyperlink contains no text, RunText() is never called. - m_closeHyperLinkInPreviousRun never replaces m_closeHyperLinkInThisRun. - in EndRun(), serialization of the end element occurs too quick. Good night. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
