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

Michael Stahl (allotropia) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |

--- Comment #6 from Michael Stahl (allotropia) <[email protected]> ---
not sure if this can be called a duplicate of a bug that was a recent
regression;
in any case this was fixed by:

commit 17e2c7226a73675d69febf0915aaeae61ad8e9f1
Author:     Michael Stahl <[email protected]>
AuthorDate: Wed Jan 31 14:33:46 2024 +0100
Commit:     Michael Stahl <[email protected]>
CommitDate: Wed Jan 31 18:58:56 2024 +0100

    tdf#158586 writerfilter: RTF import: fix \page \sect \skbnone w/ header

    The problem was not fixed yet for the less-minimized bugzilla attachment
    where the sections contain headers and footers.

    What happened there is that first \page caused a deferred page break,
    then \sect and sectBreak() delayed-read the header substream and the
    \par in the header resets all the deferred break flags.

    Add the deferred break to an already existing Context class, and remove
    the direct members in DomainMapper_Impl in favor of always using the
    m_StreamStateStack.

    Probably this problem cannot occur for DOCX import, because it imports
    header/footer eagerly where the reference element is, and sectPr is
    before any runs that contain breaks in the same paragraph element.

    Change-Id: Iba971955e9cf0c398d416518e72d99307d3e1cfd
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162833
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <[email protected]>

*** This bug has been marked as a duplicate of bug 158586 ***

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

Reply via email to