sw/source/uibase/uiview/viewmdi.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 260a4a63d16a01842b50a15e51e08590dbbb75a4
Author: Philippe Jung <phil.j...@free.fr>
Date:   Thu May 28 17:44:03 2015 +0200

    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 <c...@libreoffice.org>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>
    (cherry picked from commit 4826007f0e09160ffdb592d10b65eb262ada18c8)
    Reviewed-on: https://gerrit.libreoffice.org/16031

diff --git a/sw/source/uibase/uiview/viewmdi.cxx 
b/sw/source/uibase/uiview/viewmdi.cxx
index e875d56..03925bb 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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to