summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-07-01 17:39:42 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-07-21 10:20:32 +0200
commita3a0692cb2c44dc60ef385710aa5eda1e98cb980 (patch)
tree3b8437cc9e022d5aafa7a32ba9fd28f7d495e66f
parentaac2c25b2396e8df3fd6ae072c22dbe57d1cd33d (diff)
CppunitTest_sc_tiledrendering: clear reference to local var in time
Should fix <http://ci.libreoffice.org/job/lo_callgrind_linux/2013/console>. Change-Id: I4ff4ddafbbb15ee360cb845afe8e8b4dbbf04460 (cherry picked from commit d77d81604d8604652772e0819e5cf5e472865c65)
-rw-r--r--sc/qa/unit/tiledrendering/tiledrendering.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/qa/unit/tiledrendering/tiledrendering.cxx b/sc/qa/unit/tiledrendering/tiledrendering.cxx
index 46b85e6801d7..f82afb9080ea 100644
--- a/sc/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sc/qa/unit/tiledrendering/tiledrendering.cxx
@@ -381,6 +381,8 @@ void ScTiledRenderingTest::testViewCursors()
Scheduler::ProcessEventsToIdle();
SfxLokHelper::destroyView(SfxLokHelper::getView());
CPPUNIT_ASSERT(aView1.m_bViewCursorInvalidated);
+ mxComponent->dispose();
+ mxComponent.clear();
comphelper::LibreOfficeKit::setActive(false);
}