https://bugs.documentfoundation.org/show_bug.cgi?id=152710
--- Comment #8 from Dave Gilbert <[email protected]> --- This is actually the easy case of deleting a recursive change, and the delete itself seems to work OK. Before the delete we have: (gdb) n 733 pDoc->getIDocumentContentOperations().DeleteRange(aPaM); (gdb) p aPaM $3 = SwPaM = {point = SwPosition (node 7, offset 0), mark = SwPosition (node 9, offset 0)} (gdb) p *pDoc->m_pNodes $4 = {<BigPtrArray> = BigPtrArray of length 14 = { [ 0] 0x6063780 StartNode/SwNormalStartNode parent-start: 0x6063780 end: 0x60646f0, [ 1] 0x60646f0 EndNode start: 0x6063780, [ 2] 0x6064b00 StartNode/SwNormalStartNode parent-start: 0x6063780 end: 0x6066280, [ 3] 0x6066280 EndNode start: 0x6064b00, [ 4] 0x605a5a0 StartNode/SwNormalStartNode parent-start: 0x6063780 end: 0x6066480, [ 5] 0x6066480 EndNode start: 0x605a5a0, [ 6] 0x3381220 StartNode/SwNormalStartNode parent-start: 0x6063780 end: 0x6066390, [ 7] 0x618b0c0 StartNode/SwNormalStartNode parent-start: 0x3381220 end: 0x618b120, [ 8] 0x617e158 TextNode "tainment", [ 9] 0x618b120 EndNode start: 0x618b0c0, [ 10] 0x6066390 EndNode start: 0x3381220, [ 11] 0x6064f40 StartNode/SwNormalStartNode parent-start: 0x6063780 end: 0x6063340, [ 12] 0x5ec6498 TextNode "", [ 13] 0x6063340 EndNode start: 0x6064f40}, m_vIndices = 0x607d7a8, m_rMyDoc = @0x2c17f60, m_pEndOfPostIts = 0x60646f0, m_pEndOfInserts = 0x6066280, m_pEndOfAutotext = 0x6066480, m_pEndOfRedlines = 0x6066390, m_pEndOfContent = std::unique_ptr<SwNode> = { get() = 0x6063340}, m_aOutlineNodes = {<o3tl::sorted_vector<SwNode*, CompareSwOutlineNodes, o3tl::find_unique, true>> = { m_vector = std::vector of length 0, capacity 0}, static npos = 18446744073709551615}, m_bInNodesDel = false, m_bInDelUpdOutline = false} RecursiveContains rls.i=7 rPos.i=8 rls.EoSI=9 RecursiveContains True! and after: (gdb) p *pDoc->m_pNodes $5 = {<BigPtrArray> = BigPtrArray of length 11 = { [ 0] 0x6063780 StartNode/SwNormalStartNode parent-start: 0x6063780 end: 0x60646f0, [ 1] 0x60646f0 EndNode start: 0x6063780, [ 2] 0x6064b00 StartNode/SwNormalStartNode parent-start: 0x6063780 end: 0x6066280, [ 3] 0x6066280 EndNode start: 0x6064b00, [ 4] 0x605a5a0 StartNode/SwNormalStartNode parent-start: 0x6063780 end: 0x6066480, [ 5] 0x6066480 EndNode start: 0x605a5a0, [ 6] 0x3381220 StartNode/SwNormalStartNode parent-start: 0x6063780 end: 0x6066390, [ 7] 0x6066390 EndNode start: 0x3381220, [ 8] 0x6064f40 StartNode/SwNormalStartNode parent-start: 0x6063780 end: 0x6063340, [ 9] 0x5ec6498 TextNode "", [ 10] 0x6063340 EndNode start: 0x6064f40}, m_vIndices = 0x607d7a8, m_rMyDoc = @0x2c17f60, m_pEndOfPostIts = 0x60646f0, m_pEndOfInserts = 0x6066280, m_pEndOfAutotext = 0x6066480, m_pEndOfRedlines = 0x6066390, m_pEndOfContent = std::unique_ptr<SwNode> = { get() = 0x6063340}, m_aOutlineNodes = {<o3tl::sorted_vector<SwNode*, CompareSwOutlineNodes, o3tl::find_unique, true>> = { m_vector = std::vector of length 0, capacity 0}, static npos = 18446744073709551615}, m_bInNodesDel = false, m_bInDelUpdOutline = false} -- You are receiving this mail because: You are the assignee for the bug.
