summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-10-10 21:02:10 +0200
committerMichael Stahl <mstahl@redhat.com>2014-10-11 00:28:48 +0200
commit66d18c1fd45c32a31e1683e8ccfede61f24c0845 (patch)
tree0b9e90977a841c945cc477fd21acb4ba2d753f44 /starmath
parent6c2cffdfc634be8ef7ec37f7da4a4b16e5e2a04e (diff)
starmath: close SfxObjectShell in unit test to stop temp file leakage
Change-Id: Iaf2df8a315b3e0c8cdd1f1a4a7d589682384ddaf
Diffstat (limited to 'starmath')
-rw-r--r--starmath/qa/cppunit/test_starmath.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/starmath/qa/cppunit/test_starmath.cxx b/starmath/qa/cppunit/test_starmath.cxx
index deeade86e1ca..3889c40d29c8 100644
--- a/starmath/qa/cppunit/test_starmath.cxx
+++ b/starmath/qa/cppunit/test_starmath.cxx
@@ -97,6 +97,7 @@ void Test::tearDown()
delete m_pEditWindow;
delete m_pSmCmdBoxWindow;
delete m_pDispatcher;
+ m_xDocShRef->DoClose();
m_xDocShRef.Clear();
BootstrapFixture::tearDown();