summaryrefslogtreecommitdiff
path: root/dbaccess/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-12-22 10:56:45 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-12-22 10:56:45 +0100
commit5610381dded9afa5f768d6899345cada1bf5741f (patch)
treea1cc0e5605b6bc28e978f4976ad4ffe2b874d454 /dbaccess/qa
parentda42fabff48bca04b17d565fd76f96889f092b42 (diff)
Dispose component when done
Change-Id: I3ea2004556b01ba992215b9142b9c8a6aabb63c0
Diffstat (limited to 'dbaccess/qa')
-rw-r--r--dbaccess/qa/extras/macros-test.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbaccess/qa/extras/macros-test.cxx b/dbaccess/qa/extras/macros-test.cxx
index d6c7e6b49ac5..300c42967287 100644
--- a/dbaccess/qa/extras/macros-test.cxx
+++ b/dbaccess/qa/extras/macros-test.cxx
@@ -51,6 +51,7 @@ void DBAccessTest::test()
createFileURL(aFileNameBase, aFileName);
uno::Reference< lang::XComponent > xComponent = loadFromDesktop(aFileName);
CPPUNIT_ASSERT(xComponent.is());
+ xComponent->dispose();
}
CPPUNIT_TEST_SUITE_REGISTRATION(DBAccessTest);