Kaydet (Commit) 33cac6c6 authored tarafından Michael Stahl's avatar Michael Stahl

sc: fix temp file leaks in ucalc Test

Change-Id: Id5243aa37578cf9ed534603f3b27e83f0678c3fb
üst 03d103b0
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment