diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-10-20 08:14:07 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-10-20 08:25:02 +0000 |
commit | ef7ab996d8e4479b1944f7eaf506a506647a90dd (patch) | |
tree | ab66eef5336b081dc8c8be43148f68407c85a8ea /bin/lo-xlate-lang | |
parent | 553ee72041d6f66e26156eb1ad0d9e3c13457f7a (diff) |
CppunitTest_desktop_lib: fix valgrind errors
With this, 'make -sr CppunitTest_desktop_lib
CPPUNIT_TEST_NAME="DesktopLOKTest::testPaintPartTile
DesktopLOKTest::testWriterCommentInsertCursor" VALGRIND=memcheck'
finishes with 'ERROR SUMMARY: 0 errors from 0 contexts'.
The problem is that in sw/sc/sd code it's enough to make sure that the
on-stack ViewCallback instances are destroyed after the loaded
component, but in desktop/ code also the emit-callbacks-on-idle code is
under test, so we need to make sure first the LOK document wrapper is
destroyed, and only after that the ViewCallback instances are destroyed.
Change-Id: Ie8361233461d00fd252da929fb912a1a0b835c30
Reviewed-on: https://gerrit.libreoffice.org/30072
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'bin/lo-xlate-lang')
0 files changed, 0 insertions, 0 deletions