Kaydet (Commit) 4eb856f0 authored tarafından Michael Stahl's avatar Michael Stahl

sw: fix temp file leak in SwDocTest

Change-Id: I493af417e9bf6c781638a5a2ec10c3bed32d1b8a
üst a4c9c8b3
...@@ -1263,8 +1263,9 @@ void SwDocTest::setUp() ...@@ -1263,8 +1263,9 @@ void SwDocTest::setUp()
void SwDocTest::tearDown() void SwDocTest::tearDown()
{ {
m_pDoc = 0; // deleted by DoClose()
m_xDocShRef->DoClose();
m_xDocShRef.Clear(); m_xDocShRef.Clear();
delete m_pDoc;
BootstrapFixture::tearDown(); BootstrapFixture::tearDown();
} }
......
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