summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2023-07-12 17:01:47 +0200
committerMiklos Vajna <vmiklos@collabora.com>2023-07-12 17:57:08 +0200
commit54a36dd93a97fb6f5d25e1dbdbe1ef95a7cbaf52 (patch)
treece027317e60d7f86b9e80473500eefe5747eed00 /sw
parent23e25ed6c053a1bca6733c3ab05daca9ba28727e (diff)
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 <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/layout/layout.cxx1
1 files changed, 1 insertions, 0 deletions
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.