summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2022-06-02 22:15:23 +0200
committerLuboš Luňák <l.lunak@collabora.com>2022-06-10 11:20:24 +0200
commitcd7e262f7e34786496103dbe2be16c198bf97c64 (patch)
tree2a8082e4b11af7e6e7e26c987cb23acb21acc8f2 /sfx2
parentc3787043db572ff4b9933fad53dbcfec3428b75d (diff)
add missing 'xComponent->dispose()' to a test
Change-Id: I0ae2847e81eb2f1fba16e65d89ca1db1e55ac4b8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135577 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/qa/cppunit/test_misc.cxx2
1 files changed, 2 insertions, 0 deletions
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();
}
}