diff options
Diffstat (limited to 'sw/qa/core')
-rw-r--r-- | sw/qa/core/uwriter.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx index fe8dd092a5d3..8efd1b020b1f 100644 --- a/sw/qa/core/uwriter.cxx +++ b/sw/qa/core/uwriter.cxx @@ -1263,8 +1263,9 @@ void SwDocTest::setUp() void SwDocTest::tearDown() { + m_pDoc = 0; // deleted by DoClose() + m_xDocShRef->DoClose(); m_xDocShRef.Clear(); - delete m_pDoc; BootstrapFixture::tearDown(); } |