From 951c998ea27211f587e363d8aee70963177bdf05 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 13 May 2021 18:44:39 +0200 Subject: 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 --- filter/qa/unit/textfilterdetect.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'filter') 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(); } } -- cgit