[Libreoffice-commits] core.git: sfx2/source
Henry Castro (via logerrit)
logerrit at kemper.freedesktop.org
Mon Dec 23 10:59:56 UTC 2019
sfx2/source/view/viewsh.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e60c4940e4b5274d88cf20f456848d8f92948450
Author: Henry Castro <hcastro at collabora.com>
AuthorDate: Wed Dec 18 16:09:36 2019 -0400
Commit: Henry Castro <hcastro at collabora.com>
CommitDate: Mon Dec 23 11:59:01 2019 +0100
lok: ensure assign one parent LOK notifier
The frame window is unique that are parents of different view shells
(windows)
Change-Id: I0f5e76c0c0d9844c2bd642354ac93d368dc2af38
Reviewed-on: https://gerrit.libreoffice.org/85434
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro at collabora.com>
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index 52ddcd97668b..592ac3207da9 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -1098,7 +1098,7 @@ SfxViewShell::SfxViewShell
if (comphelper::LibreOfficeKit::isActive())
{
vcl::Window* pFrameWin = pViewFrame->GetWindow().GetFrameWindow();
- if (pFrameWin)
+ if (pFrameWin && !pFrameWin->GetLOKNotifier())
pFrameWin->SetLOKNotifier(this, true);
}
}
More information about the Libreoffice-commits
mailing list