sw/qa/extras/layout/layout.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 54a36dd93a97fb6f5d25e1dbdbe1ef95a7cbaf52
Author: Miklos Vajna <[email protected]>
AuthorDate: Wed Jul 12 17:01:47 2023 +0200
Commit: Miklos Vajna <[email protected]>
CommitDate: Wed Jul 12 17:57:08 2023 +0200
CppunitTest_sw_layoutwriter: fix unclosed component in testTdf109137
Is meant to fix this warning at the end of CppunitTest_sw_layoutwriter:
warn:vcl:25875:25875:vcl/source/app/svmain.cxx:469: DeInitVCL: some top
Windows are still alive
text = "" type = "14FloatingWindow", ptr = 0x636cff0
text = "tdf109137.docx — LibreOfficeDev Writer 24.2
[ad8be98155e24a8d15948be493580df9eb2e56f5]" type = "10WorkWindow", ptr =
0x7d82920
Change-Id: I7a0a53c8a9aca0ed6e0eb04107c523be7cc23535
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154359
Reviewed-by: Miklos Vajna <[email protected]>
Tested-by: Jenkins
diff --git a/sw/qa/extras/layout/layout.cxx b/sw/qa/extras/layout/layout.cxx
index 53b3c2932c3a..f36eaa93237b 100644
--- a/sw/qa/extras/layout/layout.cxx
+++ b/sw/qa/extras/layout/layout.cxx
@@ -3439,6 +3439,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter, testTdf109137)
{ "FilterName", uno::Any(OUString("writer8")) },
}));
xStorable->storeToURL(maTempFile.GetURL(), aDescriptor);
+ mxComponent->dispose();
mxComponent = loadFromDesktop(maTempFile.GetURL(),
"com.sun.star.text.TextDocument");
xmlDocUniquePtr pXmlDoc = parseLayoutDump();
// This was 0, the blue rectangle moved from the 1st to the 2nd page.