Hi,

See
http://cgit.freedesktop.org/libreoffice/core/commit/?id=b22749f

Reportedly regression from 3.4, though hard to see how this ever worked.
;)

Backported patch attached.

Thanks,

Miklos
>From dba3e01960cfa5c4aec4588d3c2625e35922cfaa Mon Sep 17 00:00:00 2001
From: Miklos Vajna <vmik...@suse.cz>
Date: Fri, 11 May 2012 09:38:03 +0200
Subject: [PATCH] fdo#44174 RTF_TITLEPG when title page has no header

Change-Id: Ida6566b38ceaca30441a029c73bd1f52d93bbb3b
---
 sw/source/filter/ww8/rtfexport.cxx |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx
index 0904ac8..cf13e5f 100644
--- a/sw/source/filter/ww8/rtfexport.cxx
+++ b/sw/source/filter/ww8/rtfexport.cxx
@@ -1193,6 +1193,7 @@ void RtfExport::OutPageDescription( const SwPageDesc& rPgDsc, sal_Bool bWriteRes
     // title page
     if( pAktPageDesc != &rPgDsc )
     {
+        Strm() << OOO_STRING_SVTOOLS_RTF_TITLEPG;
         pAktPageDesc = &rPgDsc;
         if( pAktPageDesc->GetMaster().GetAttrSet().GetItemState( RES_HEADER,
                     sal_False, &pItem ) == SFX_ITEM_SET )
-- 
1.7.7

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to