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

--- Comment #9 from Jim Raykowski <[email protected]> ---
I have located what seems to be the cause of this bug. 

tblafmt.cxx

void SwTableAutoFormat::RestoreTableProperties(SwTable &table) const
{
    SwTableFormat* pFormat = table.GetFrameFormat();
    if (!pFormat)
        return;

    SwDoc *pDoc = pFormat->GetDoc();
    if (!pDoc)
        return;

    SfxItemSet rSet(pDoc->GetAttrPool(), aTableSetRange);

//    rSet.Put(m_aBreak);  <<<<< comment this line

When this line of code is removed a table inserted at the start of a new page
behaves as expected. I don't really understand why. My knowledge of itemsets
and pools and ranges is not strong.

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

Reply via email to