diff options
author | Philippe Jung <phil.jung@free.fr> | 2015-05-28 17:44:03 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-02 10:51:02 +0000 |
commit | 260a4a63d16a01842b50a15e51e08590dbbb75a4 (patch) | |
tree | 39e6c0d120fbc2e8216c685502de7842fc30b4c4 | |
parent | 250bc8fbd089d2f02d45bc2e4e5784de38f640c6 (diff) |
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/15952
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 4826007f0e09160ffdb592d10b65eb262ada18c8)
Reviewed-on: https://gerrit.libreoffice.org/16031
-rw-r--r-- | sw/source/uibase/uiview/viewmdi.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/uibase/uiview/viewmdi.cxx b/sw/source/uibase/uiview/viewmdi.cxx index e875d560739b..03925bb4cbd0 100644 --- a/sw/source/uibase/uiview/viewmdi.cxx +++ b/sw/source/uibase/uiview/viewmdi.cxx @@ -423,6 +423,7 @@ IMPL_LINK( SwView, MoveNavigationHdl, bool *, pbNext ) case NID_POSTIT: { + rSh.EnterStdMode(); sw::sidebarwindows::SwSidebarWin* pPostIt = GetPostItMgr()->GetActiveSidebarWin(); if (pPostIt) GetPostItMgr()->SetActiveSidebarWin(0); |