summaryrefslogtreecommitdiff
path: root/sc/qa/unit/copy_paste_test.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-03-12 17:08:09 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-03-12 17:20:17 +0100
commit602f4c8a6133d337853edf47750044a77ef6247d (patch)
tree2895058186322010eec46ec6c41d999ab67f07cf /sc/qa/unit/copy_paste_test.cxx
parent22ea08bdb5d64636cf76a58d6b34be01f5f50791 (diff)
fix memory leak in copy_paste test
Change-Id: If16f6c0cb4d2bd2ae820b62fc7d563df09b27bbb
Diffstat (limited to 'sc/qa/unit/copy_paste_test.cxx')
-rw-r--r--sc/qa/unit/copy_paste_test.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/unit/copy_paste_test.cxx b/sc/qa/unit/copy_paste_test.cxx
index 44a24d625227..575fbaeb4c98 100644
--- a/sc/qa/unit/copy_paste_test.cxx
+++ b/sc/qa/unit/copy_paste_test.cxx
@@ -118,7 +118,7 @@ void ScCopyPasteTest::testCopyPasteXLS()
// 6. Paste
pViewShell->GetViewData().GetView()->PasteFromClip(InsertDeleteFlags::ALL, &aClipDoc);
- xDocSh->DoClose();
+ xComponent->dispose();
}
ScCopyPasteTest::ScCopyPasteTest()