sw/qa/extras/tiledrendering/tiledrendering.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 31405b20fed5f3e98be25501a25e25963f3102f9 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> AuthorDate: Sat May 11 12:30:36 2019 -0400 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Tue May 14 14:54:42 2019 +0200 CppunitTest_sw_tiledrendering: close the document while LOK is still active When we destroy the document without LOK we leak the LOK Notifier subsystem, which doesn't get destroyed, since LOK is inavtive by then. Though it's not entirely clear why only this test suffered this issue, I avoided making unwarranted changes without reason (i.e. failing tests). Change-Id: Ib098b8ff3c828cb94a55d1f8cd1f0b010240a749 diff --git a/sw/qa/extras/tiledrendering/tiledrendering.cxx b/sw/qa/extras/tiledrendering/tiledrendering.cxx index 56e947813d99..5a623ab34f04 100644 --- a/sw/qa/extras/tiledrendering/tiledrendering.cxx +++ b/sw/qa/extras/tiledrendering/tiledrendering.cxx @@ -2406,6 +2406,8 @@ void SwTiledRenderingTest::testDeselectCustomShape() pXTextDocument->postMouseEvent(LOK_MOUSEEVENT_MOUSEBUTTONUP, aStart.getX(), aStart.getY(), 1, MOUSE_LEFT, 0); Scheduler::ProcessEventsToIdle(); CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(0), pWrtShell->GetDrawView()->GetMarkedObjectList().GetMarkCount()); + + comphelper::LibreOfficeKit::setActive(false); } void SwTiledRenderingTest::testSemiTransparent() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits