https://bugs.documentfoundation.org/show_bug.cgi?id=166713

--- Comment #7 from Julien Nabet <[email protected]> ---
searching a bit in gdb, at line 1347, Seek_Entry makes nPos = 1 but returns
false because pNd hasn't been found.


diff --git a/sw/source/uibase/wrtsh/wrtsh1.cxx
b/sw/source/uibase/wrtsh/wrtsh1.cxx
index 3797ed4bcabe..63247b07bb53 100644
--- a/sw/source/uibase/wrtsh/wrtsh1.cxx
+++ b/sw/source/uibase/wrtsh/wrtsh1.cxx
@@ -1344,8 +1344,8 @@ static bool
lcl_FoldedOutlineNodeEndOfParaSplit(SwWrtShell *pThis)

             SwTextNode* pNd = pDoc->GetNodes().MakeTextNode(*pEndNd,
pTextNode->GetTextColl(), true);

-            (void) rOutlineNodes.Seek_Entry(pNd, &nPos);
-            pThis->GotoOutline(nPos);
+            if (rOutlineNodes.Seek_Entry(pNd, &nPos))
+                pThis->GotoOutline(nPos);

             if (pDoc->GetIDocumentUndoRedo().DoesUndo())
             {

prevents LO from crashing but typing Enter makes nothing instead so don't think
it's the right solution.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to