diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-10-14 22:53:04 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-10-15 00:04:33 +0200 |
commit | 33cac6c68bd2f2628832953c22be22022169f241 (patch) | |
tree | 12fcec6e839dbf092569687a21718ba078516376 /sc/qa/unit | |
parent | 03d103b04b4ac7f926bf1b1bb3c30829900e4239 (diff) |
sc: fix temp file leaks in ucalc Test
Change-Id: Id5243aa37578cf9ed534603f3b27e83f0678c3fb
Diffstat (limited to 'sc/qa/unit')
-rw-r--r-- | sc/qa/unit/ucalc.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index 19d13a399f63..5aaec726d5db 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -167,6 +167,7 @@ void Test::setUp() void Test::tearDown() { + m_pImpl->m_xDocShell->DoClose(); m_pImpl->m_xDocShell.Clear(); BootstrapFixture::tearDown(); } @@ -4686,6 +4687,8 @@ void Test::testCopyPasteFormulasExternalDoc() CPPUNIT_ASSERT_EQUAL(aFormula, OUString("='file:///source.fake'#$Sheet2.B$1")); rExtDoc.GetFormula(1,6,1, aFormula); CPPUNIT_ASSERT_EQUAL(aFormula, OUString("=$ExtSheet2.$B$2")); + + xExtDocSh->DoClose(); } void Test::testFindAreaPosVertical() |