[Libreoffice-bugs] [Bug 131321] FILEOPEN: ms word docx with styles that include bulleting / numbering loses bullet / number part of style in Writer

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Apr 8 11:58:58 UTC 2020


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

--- Comment #8 from Justin L <jluth at mail.com> ---
The regression in LO 4.4 was from commit
e49d2b31fb2020d065b4ad940d1031d07b10f32b
Author:  Vinaya Mandke CommitDate: Tue Jun 10 09:57:45 2014 +0200
     fdo#78939 [DOCX] Hang while opening due to incorrect modification of Style

http://opengrok.libreoffice.org/xref/core/sw/source/core/unocore/unosett.cxx#1884
modifies the referenced style of the numbering rule to use the current
numbering rule. Actually the referenced style is not supposed to be modified.
As the numbering level format only uses that properties particular style, which
may or may not be a numbering style.
    For this Particular document the numbering format refers the "Default
Style" (Normal). Almost all of the styles in style.xml are based on it. Normal
was modified, and as a result the whole document was bulletized; Which caused
the hang while opening.

Removed the addition of style as a PARA_STYLE, as the properties of the
referenced style are already added in ListLevel::AddParaProperties
   Reviewed on: https://gerrit.libreoffice.org/9668

-- 
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/20200408/480060a6/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list