[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - sw/source

Philippe Jung phil.jung at free.fr
Tue Jun 2 03:51:24 PDT 2015


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

New commits:
commit 260a4a63d16a01842b50a15e51e08590dbbb75a4
Author: Philippe Jung <phil.jung at 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 <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at 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);


More information about the Libreoffice-commits mailing list