Dispose document when done

Change-Id: I73a1cb1c206a2f55ec0c8948fca29b3976a51e75
This commit is contained in:
Stephan Bergmann
2016-12-22 10:50:07 +01:00
parent a02018a9ae
commit da42fabff4

View File

@@ -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);