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

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Sun May 23 13:44:32 UTC 2021


 starmath/qa/cppunit/test_cursor.cxx             |    1 +
 starmath/qa/cppunit/test_nodetotextvisitors.cxx |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit ae829001fbc9dddb2b4774dcfb9a7fe8e930d335
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Sat May 22 19:04:06 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sun May 23 15:43:58 2021 +0200

    fix some starmath test leaks
    
    Change-Id: I99ad6330b7b727f6d5416afe466a8defacd14180
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116013
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/starmath/qa/cppunit/test_cursor.cxx b/starmath/qa/cppunit/test_cursor.cxx
index 1d5e5fad6d04..b77007eb9b86 100644
--- a/starmath/qa/cppunit/test_cursor.cxx
+++ b/starmath/qa/cppunit/test_cursor.cxx
@@ -61,6 +61,7 @@ void Test::setUp()
 
 void Test::tearDown()
 {
+    xDocShRef->DoClose();
     xDocShRef.clear();
     BootstrapFixture::tearDown();
 }
diff --git a/starmath/qa/cppunit/test_nodetotextvisitors.cxx b/starmath/qa/cppunit/test_nodetotextvisitors.cxx
index 5d1694197b30..3d05965224c4 100644
--- a/starmath/qa/cppunit/test_nodetotextvisitors.cxx
+++ b/starmath/qa/cppunit/test_nodetotextvisitors.cxx
@@ -94,6 +94,7 @@ void Test::setUp()
 
 void Test::tearDown()
 {
+    xDocShRef->DoClose();
     xDocShRef.clear();
     BootstrapFixture::tearDown();
 }


More information about the Libreoffice-commits mailing list