From cd7e262f7e34786496103dbe2be16c198bf97c64 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Thu, 2 Jun 2022 22:15:23 +0200 Subject: add missing 'xComponent->dispose()' to a test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I0ae2847e81eb2f1fba16e65d89ca1db1e55ac4b8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135577 Tested-by: Jenkins Reviewed-by: Luboš Luňák --- sfx2/qa/cppunit/test_misc.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sfx2') diff --git a/sfx2/qa/cppunit/test_misc.cxx b/sfx2/qa/cppunit/test_misc.cxx index 95ab7e927b09..1bf90cfbc218 100644 --- a/sfx2/qa/cppunit/test_misc.cxx +++ b/sfx2/qa/cppunit/test_misc.cxx @@ -218,6 +218,8 @@ CPPUNIT_TEST_FIXTURE(MiscTest, testOverwrite) catch (const css::uno::Exception&) { } + + xComponent->dispose(); } } -- cgit