[Libreoffice-bugs] [Bug 123705] After save a DOCX file, it gives a error when it try to be open

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Feb 26 15:49:30 UTC 2019


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

--- Comment #4 from Julien Nabet <serval2412 at yahoo.fr> ---
Considering
https://opengrok.libreoffice.org/xref/core/sw/source/filter/ww8/docxattributeoutput.cxx?r=167d4a99#2458
which clears:
- m_pFontsAttrList
- m_pEastAsianLayoutAttrList
- m_pCharLangAttrList
but also m_pColorAttrList

I wonder we shouldn't add in sw/source/filter/ww8/docxattributeoutput.cxx#2930
these lines:
rtl::Reference<sax_fastparser::FastAttributeList>
pColorAttrList_Original(m_pColorAttrList);
m_pColorAttrList.clear();

then:
m_pColorAttrList = pColorAttrList_Original;

I'll test this tonight.

-- 
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/20190226/6a4c1ef9/attachment.html>


More information about the Libreoffice-bugs mailing list