dbaccess/qa/unit/hsqldb.cxx | 3 +++ 1 file changed, 3 insertions(+) New commits: commit da42fabff48bca04b17d565fd76f96889f092b42 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Dec 22 10:50:07 2016 +0100
Dispose document when done Change-Id: I73a1cb1c206a2f55ec0c8948fca29b3976a51e75 diff --git a/dbaccess/qa/unit/hsqldb.cxx b/dbaccess/qa/unit/hsqldb.cxx index 69c822c..23fed51 100644 --- a/dbaccess/qa/unit/hsqldb.cxx +++ b/dbaccess/qa/unit/hsqldb.cxx @@ -42,6 +42,9 @@ void HSQLDBTest::testEmptyDBConnection() getDocumentForFileName("hsqldb_empty.odb"); getConnectionForDocument(xDocument); + + css::uno::Reference<css::lang::XComponent>( + xDocument, css::uno::UNO_QUERY_THROW)->dispose(); } CPPUNIT_TEST_SUITE_REGISTRATION(HSQLDBTest); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits