[PATCH] fdo#44174 RTF_TITLEPG when title page has no header

Miklos Vajna vmiklos at suse.cz
Fri May 11 00:38:03 PDT 2012


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


--9jxsPFA5p3P2qPhR--


More information about the LibreOffice mailing list