diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-13 18:44:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-13 20:21:41 +0200 |
commit | 951c998ea27211f587e363d8aee70963177bdf05 (patch) | |
tree | 7523ffc909229ca732417c4fb26b07523961b3b9 /filter/qa | |
parent | 698e27d29cf0612634720c818ee773bfac6c40d1 (diff) |
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@collabora.co.uk>
Diffstat (limited to 'filter/qa')
-rw-r--r-- | filter/qa/unit/textfilterdetect.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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(); } } |