• Miklos Vajna's avatar
    tdf#112741 sw split sections inside table cells: fix table re-layout · 813e1805
    Miklos Vajna yazdı
    The bugdoc has a section large enough that it is split across 4 pages.
    The section is inside a nested table. First we lay this out properly,
    but when later laying out the footer we need to redo the body frame
    layout, which first undoes the split of the table/nested table/section.
    
    This fails, the master second and its 3 follows are expected to be moved
    back to the first page (and merged together), but
    SwSectionFrame::MakeAll() did this only for the first follow, which was
    moved to the first page, not for the other 2 follows which were on other
    pages.
    
    Fix the problem by merging not only follows which are also next to the
    section frame, but also the ones which are follows (but not nexts).
    
    Change-Id: I7a69aa58336a50d4f37808ccb105b443c2f6993c
    813e1805