-
Sourav yazdı
Description:The RT file is getting corrupted. The <w:fldChar w:fldCharType="end" /> tag is there inside the hyperlink tag where as the <w:fldChar w:fldCharType="begin"> is starting before the hyperlink tag.This is causing the issue. The rootcause found is in DocxAttributeOutput::EndRun(). A check is introduced before the code that writes the <w:fldChar w:fldCharType="end" /> after the hyperlink to check if the m_startedHyperlink is false. I have added test case to verify that now the RT file is opening I also verified this change on a set of 440 real world documents (containing many combinations of MS Office features) to make sure there is no regression because of this change. Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Reviewed on: https://gerrit.libreoffice.org/8603 Change-Id: Ibc3ca8edcfb68d52a9394580bac1ce878eda9405
d44abe17