[Libreoffice-commits] core.git: dbaccess/qa

Stephan Bergmann sbergman at redhat.com
Thu Dec 22 09:50:37 UTC 2016


 dbaccess/qa/unit/hsqldb.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit da42fabff48bca04b17d565fd76f96889f092b42
Author: Stephan Bergmann <sbergman at 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);


More information about the Libreoffice-commits mailing list