diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-12-22 10:50:07 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-12-22 10:50:07 +0100 |
commit | da42fabff48bca04b17d565fd76f96889f092b42 (patch) | |
tree | ad4b131d9c809b6a5eb82b5132e7e2f4b050f104 /dbaccess | |
parent | Take advantage of Unicode, people (diff) | |
download | core-da42fabff48bca04b17d565fd76f96889f092b42.tar.gz core-da42fabff48bca04b17d565fd76f96889f092b42.zip |
Dispose document when done
Change-Id: I73a1cb1c206a2f55ec0c8948fca29b3976a51e75
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/qa/unit/hsqldb.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dbaccess/qa/unit/hsqldb.cxx b/dbaccess/qa/unit/hsqldb.cxx index 69c822c693a7..23fed5151944 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); |