[Libreoffice-commits] core.git: filter/qa
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Thu May 13 18:22:54 UTC 2021
filter/qa/unit/textfilterdetect.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 951c998ea27211f587e363d8aee70963177bdf05
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu May 13 18:44:39 2021 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu May 13 20:21:41 2021 +0200
dispose component in test
probably not strictly necessary, but lets err on the side of safety
Change-Id: I1b4b7381eca0af83434fdc925a0a5d09733b4ee8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115565
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/filter/qa/unit/textfilterdetect.cxx b/filter/qa/unit/textfilterdetect.cxx
index 396ac8019e51..95c2b7697159 100644
--- a/filter/qa/unit/textfilterdetect.cxx
+++ b/filter/qa/unit/textfilterdetect.cxx
@@ -111,6 +111,7 @@ CPPUNIT_TEST_FIXTURE(TextFilterDetectTest, testEmptyFile)
// Without the accompanying fix in place, this test would have failed, as it was opened in
// Writer instead.
CPPUNIT_ASSERT(xServiceInfo->supportsService("com.sun.star.presentation.PresentationDocument"));
+ getComponent()->dispose();
}
}
More information about the Libreoffice-commits
mailing list