sw/qa/extras/ooxmlexport/ooxmlexport13.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit d7fb923d1252da2b84438b504db98b6be74554eb Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Wed Mar 20 08:38:57 2024 +0100 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Wed Mar 20 09:28:01 2024 +0100 CppunitTest_sw_ooxmlexport13: use more CPPUNIT_TEST_FIXTURE() No need to go via Writer-specific macros here. Change-Id: I097bf16a3c45024184c20f65e811d9acb1f3e8cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165041 Reviewed-by: Miklos Vajna <vmik...@collabora.com> Tested-by: Jenkins diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport13.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport13.cxx index c7c670fe30ad..9f0420354e9b 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport13.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport13.cxx @@ -36,8 +36,10 @@ public: }; // TODO: the re-import doesn't work just yet, but that isn't a regression... -DECLARE_SW_EXPORT_TEST(testFlyInFly, "ooo39250-1-min.rtf", nullptr, Test) +CPPUNIT_TEST_FIXTURE(Test, testFlyInFly) { + createSwDoc("ooo39250-1-min.rtf"); + save(mpFilter); // check that anchor of text frame is in other text frame uno::Reference<text::XTextContent> const xAnchored(getShape(3), uno::UNO_QUERY); CPPUNIT_ASSERT(xAnchored.is());