sw/source/filter/ww8/rtfattributeoutput.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 8c298cd88b294a7cb4c8c4addba1932181962453
Author:     Caolán McNamara <[email protected]>
AuthorDate: Sun Mar 8 19:11:25 2026 +0000
Commit:     Caolán McNamara <[email protected]>
CommitDate: Mon Mar 9 09:19:56 2026 +0100

    crashtesting: column break exported in rtf header/footer
    
    column break appearing in a header/footer on conversion of
    bugtrackers/odt/fdo70624-1.odt to rtf
    
    The other cases of column breaks in headers/footers are
    suppressed, so do the same here
    
    Change-Id: I6e897b5859b67af8ce8651ecc18f15ce1ccac912
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201223
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Jenkins

diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx 
b/sw/source/filter/ww8/rtfattributeoutput.cxx
index 9e1c91879c31..23955f07887c 100644
--- a/sw/source/filter/ww8/rtfattributeoutput.cxx
+++ b/sw/source/filter/ww8/rtfattributeoutput.cxx
@@ -1669,7 +1669,8 @@ void RtfAttributeOutput::SectionBreak(sal_uInt8 nC, bool 
/*bBreakAfter*/,
     switch (nC)
     {
         case msword::ColumnBreak:
-            m_nColBreakNeeded = true;
+            if (!m_rExport.m_bOutKF)
+                m_nColBreakNeeded = true;
             break;
         case msword::PageBreak:
             if (pSectionInfo)

Reply via email to