[Libreoffice-commits] core.git: sc/qa

Miklos Vajna vmiklos at collabora.co.uk
Fri Jul 1 15:42:23 UTC 2016


 sc/qa/unit/tiledrendering/tiledrendering.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit d77d81604d8604652772e0819e5cf5e472865c65
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Fri Jul 1 17:39:42 2016 +0200

    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

diff --git a/sc/qa/unit/tiledrendering/tiledrendering.cxx b/sc/qa/unit/tiledrendering/tiledrendering.cxx
index ed85cd2..d0ea09d 100644
--- a/sc/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sc/qa/unit/tiledrendering/tiledrendering.cxx
@@ -403,6 +403,8 @@ void ScTiledRenderingTest::testViewCursors()
     Scheduler::ProcessEventsToIdle();
     SfxLokHelper::destroyView(SfxLokHelper::getView());
     CPPUNIT_ASSERT(aView1.m_bViewCursorInvalidated);
+    mxComponent->dispose();
+    mxComponent.clear();
 
     comphelper::LibreOfficeKit::setActive(false);
 }


More information about the Libreoffice-commits mailing list