When a .docx file is opened (or saved?), and has an empty title, the title somehow gets an extra 0x000A which later appears as a TOC title line.
Steps to Reproduce:
Consider the attached .docx document.
The document has no title in its properties (nor any text in the Title style). If you update its TOC, however, an empty title line appear. If you then "Edit Index" on it (e.g. via a right-click), you'll see the title text is a 0x000A. Yes, a 4-letter hex code box for your UX pleasure... if you delete that character, the title line disappears. This can _not_ be repeated immediately, but if you save the file, close and reopen - it is again repeatable once.
User Profile Reset: No
If you save the file as an .odt - you won't get this behavior when you open the file anew.
Created attachment 159102 [details]
Document exhibiting the bug
Note the empty TOC title line will not appear until you right-click, then Update Index on the TOC.
DOCX is saved by LO. Invalid report. Only acceptable is ODT source or MSO created DOC/X.
If you can reproduce with ODT saved in recent LO (best try master) as DOCX, feel free to set Unconfirmed.
(In reply to Timur from comment #2)
> DOCX is saved by LO. Invalid report. Only acceptable is ODT source or MSO
> created DOC/X.
I don't understand this comment. Why is a docx created by LO "invalid" as an example?
> If you can reproduce with ODT saved in recent LO (best try master) as DOCX, feel free to set Unconfirmed.
I'll try to reproduce with a recent LO.