Kaydet (Commit) 260a4a63 authored tarafından Philippe Jung's avatar Philippe Jung Kaydeden (comit) Caolán McNamara

tdf#91592 WRITER crashes when navigating through comments

without rSh.EnterStdMode, the image is selected and it has no GetTextNode.

Change-Id: I91ed5a1ed002a04919042f4df22c49d3189daccd
Reviewed-on: https://gerrit.libreoffice.org/15952Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
(cherry picked from commit 4826007f)
Reviewed-on: https://gerrit.libreoffice.org/16031
üst 250bc8fb
...@@ -423,6 +423,7 @@ IMPL_LINK( SwView, MoveNavigationHdl, bool *, pbNext ) ...@@ -423,6 +423,7 @@ IMPL_LINK( SwView, MoveNavigationHdl, bool *, pbNext )
case NID_POSTIT: case NID_POSTIT:
{ {
rSh.EnterStdMode();
sw::sidebarwindows::SwSidebarWin* pPostIt = GetPostItMgr()->GetActiveSidebarWin(); sw::sidebarwindows::SwSidebarWin* pPostIt = GetPostItMgr()->GetActiveSidebarWin();
if (pPostIt) if (pPostIt)
GetPostItMgr()->SetActiveSidebarWin(0); GetPostItMgr()->SetActiveSidebarWin(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment