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

--- Comment #5 from Julien Nabet <serval2...@yahoo.fr> ---
Created attachment 124871
  --> https://bugs.documentfoundation.org/attachment.cgi?id=124871&action=edit
gdb info about nodes

Notice these:
(gdb) p rNds
$5 = (SwNodes &) @0x2fdab60: {<BigPtrArray> = BigPtrArray of length 726 = {

so we expect an array of 726 whereas last node in it is:
[ 199]  0x63a8730            TextNode "POREIKIS:"...}, m_vIndices = 0x30094a8,
m_pMyDoc = 0x2feb570, m_pEndOfPostIts = 0x2fd6160, m_pEndOfInserts = 0x2fc1600, 
  m_pEndOfAutotext = 0x2fd30d0, m_pEndOfRedlines = 0x2feb900, m_pEndOfContent =
0x2fd9b80, m_pOutlineNodes = 0x2fd9bc0, m_bInNodesDel = false,
m_bInDelUpdOutline = false, 
  m_bInDelUpdNum = false}

then this:
(gdb) p mrSidebarItem.maLayoutInfo.mnStartNodeIdx
$4 = 538

So indeed, these lines from sw/source/uibase/docvw/SidebarWin.cxx can't work:
    895                 SwContentNode* const pContentNd =
rNds[mrSidebarItem.maLayoutInfo.mnStartNodeIdx]->GetContentNode();
    896                 SwPosition aStartPos( *pContentNd,
mrSidebarItem.maLayoutInfo.mnStartContent );

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to