sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-)
New commits: commit 8645c0a1f5afd5e9b057216c0b970c0b1cc77497 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Wed Jul 2 12:50:51 2025 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Wed Jul 2 15:27:28 2025 +0200 CppunitTest_sw_ooxmlfieldexport: re-enable test disabled in commit 0d29394598db2e336a9982cbb7041ea407b2bf6d Author: Attila Bakos (NISZ) <bakos.attilakar...@nisz.hu> Date: Mon Feb 7 17:09:42 2022 +0100 tdf#147126 sw: fix missing as_char anchoring of group textboxes Change-Id: I9a32ea0f830de0c9648616f5124ccc1d523aa7ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187274 Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> Tested-by: Jenkins diff --git a/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx index 82a90719b25d..9a18fb73fec4 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx @@ -437,16 +437,15 @@ CPPUNIT_TEST_FIXTURE(Test, testFdo78910) assertXPath ( pXmlDoc, "//w:hyperlink[2]/w:r[5]/w:fldChar", "fldCharType", u"end" ); } -// FIXME: During this test a pure VML shape get converted to DML and crash at verifying. -// CPPUNIT_TEST_FIXTURE(Test, testFDO78590) -// { -// loadAndReload("FDO78590.docx"); -// xmlDocUniquePtr pXmlDoc = parseExport("word/document.xml"); -// -// // This is to ensure that the fld starts and ends inside a hyperlink... -// assertXPath ( pXmlDoc, "/w:document/w:body/w:p[1]/w:pPr/w:framePr", "w", "9851" ); -// assertXPath ( pXmlDoc, "/w:document/w:body/w:p[1]/w:pPr/w:framePr", "h", "1669" ); -// } +CPPUNIT_TEST_FIXTURE(Test, testFDO78590) +{ + loadAndReload("FDO78590.docx"); + xmlDocUniquePtr pXmlDoc = parseExport("word/document.xml"); + + // This is to ensure that the fld starts and ends inside a hyperlink... + assertXPath ( pXmlDoc, "/w:document/w:body/w:p[1]/w:pPr/w:framePr", "w", u"9851" ); + assertXPath ( pXmlDoc, "/w:document/w:body/w:p[1]/w:pPr/w:framePr", "h", u"1669" ); +} CPPUNIT_TEST_FIXTURE(Test, testSdtCitationRun) {