diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2019-05-05 23:33:34 -0400 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-01 11:55:16 +0200 |
commit | 874b511b9587495c29455e61fb4ed0052eb8f45b (patch) | |
tree | 8332049ba676f795352d147a8a5fdf067096f5fb /sfx2/source/appl/workwin.cxx | |
parent | cbbda5b9267f9f7c7028ebc3f0867ddc6715543a (diff) |
LOK: support sidebars in writer and calc
[ Miklos: added code to release LOK notifiers in
SfxWorkWindow::DeleteControllers_Impl() during shutdown. ]
Reviewed-on: https://gerrit.libreoffice.org/71843
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit 5ddf630222241bec4deda56d10992c35ae4efe06)
Change-Id: I3a3bd1fb6922e435599f604328f558be60594729
Reviewed-on: https://gerrit.libreoffice.org/76556
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/appl/workwin.cxx')
-rw-r--r-- | sfx2/source/appl/workwin.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx index 65a0a43d1c00..1f40902b9a77 100644 --- a/sfx2/source/appl/workwin.cxx +++ b/sfx2/source/appl/workwin.cxx @@ -580,6 +580,14 @@ void SfxWorkWindow::DeleteControllers_Impl() SfxChildWindow *pChild = pCW->pWin; if (pChild) { + if (comphelper::LibreOfficeKit::isActive()) + { + vcl::Window* pWindow = pChild->GetWindow(); + if (pWindow) + { + pWindow->ReleaseLOKNotifier(); + } + } pChild->Hide(); // If the child window is a direct child window and not in a |