Kaydet (Commit) ff66e912 authored tarafından Justin Luth's avatar Justin Luth

sw ooxmlexport: Header/Footer - ignore postponed page breaks

I ran across this causing problems as I was developing a
patch. I don't see any documents where I can see the problem
any more, so no unit test.

Change-Id: I432edae0ae47150a4b38de78714b284a02766e99
Reviewed-on: https://gerrit.libreoffice.org/65265
Tested-by: Jenkins
Reviewed-by: 's avatarJustin Luth <justin_luth@sil.org>
üst a4c46cee
......@@ -1148,7 +1148,7 @@ void DocxAttributeOutput::EndParagraphProperties(const SfxItemSet& rParagraphMar
m_nColBreakStatus = COLBRK_NONE;
}
if ( m_bPostponedPageBreak )
if ( m_bPostponedPageBreak && !m_bWritingHeaderFooter )
{
m_pSerializer->startElementNS( XML_w, XML_r, FSEND );
m_pSerializer->singleElementNS( XML_w, XML_br,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment