summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-22 19:04:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-23 15:43:58 +0200
commitae829001fbc9dddb2b4774dcfb9a7fe8e930d335 (patch)
tree83be549749f39ca8484497c154a58c0fcaf915f2 /starmath
parent0253457e130442423210f99004d4c685fbff288f (diff)
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@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/qa/cppunit/test_cursor.cxx1
-rw-r--r--starmath/qa/cppunit/test_nodetotextvisitors.cxx1
2 files changed, 2 insertions, 0 deletions
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();
}