CppunitTest_desktop_lib: close the document while LOK is still active
Otherwise the LOK notifiers won't be released (since LOK is not active), and we leak vcl::Windows in GetLOKWindowsMap()::s_pLOKWindowsMap. In dbgutil builds, this leads to an assertion failure if the sidebar is active. (cherry picked from commit da17ccae) On cp-6.0, this is a regression from the cp-6.0-only commit 49fe72fe (sfx2: LOK: route the parent sidebar window instead of the deck, 2018-10-10). Conflicts: desktop/qa/desktop_lib/test_desktop_lib.cxx Change-Id: Idedb9578478ff4a9f2e17c0cfd203da6f007bdbd Reviewed-on: https://gerrit.libreoffice.org/72098Reviewed-by:Michael Meeks <michael.meeks@collabora.com> Tested-by:
Michael Meeks <michael.meeks@collabora.com>
Showing
This diff is collapsed.
Please
register
or
sign in
to comment