diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2019-06-10 17:10:18 -0400 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2019-08-06 23:00:51 +0200 |
commit | fe839562e65a5c921dc4f239e931d1a863d1d76d (patch) | |
tree | a5b89e68acc527ab865b7f93021b6c42f8307326 /sfx2 | |
parent | c3a1c83ff5af05d34f433ac808adbe85f47e8c18 (diff) |
LOK: sd: fix unit-tests and add a couple simple ones
Change-Id: I6b8f13bf9cb609a86b85135ceb96f865451b59ac
Reviewed-on: https://gerrit.libreoffice.org/77071
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/sidebar/SidebarDockingWindow.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/SidebarDockingWindow.cxx b/sfx2/source/sidebar/SidebarDockingWindow.cxx index dc558046cd05..c354da362d74 100644 --- a/sfx2/source/sidebar/SidebarDockingWindow.cxx +++ b/sfx2/source/sidebar/SidebarDockingWindow.cxx @@ -73,7 +73,10 @@ void SidebarDockingWindow::DoDispose() if (comphelper::LibreOfficeKit::isActive()) { if (const vcl::ILibreOfficeKitNotifier* pNotifier = GetLOKNotifier()) + { pNotifier->notifyWindow(GetLOKWindowId(), "close"); + ReleaseLOKNotifier(); + } } Reference<lang::XComponent> xComponent (static_cast<XWeak*>(mpSidebarController.get()), UNO_QUERY); |