diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-12-08 08:49:03 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-12-10 09:35:15 +0100 |
commit | e4c13fa32f793fee6d99c0c479fd65ab9dd09b66 (patch) | |
tree | dcfbb5560875b72f353d57fb046571192c3203ff /sw/source | |
parent | afa8fec8367c747cbf50d81fe836dd1679b85867 (diff) |
Related: tdf#94377 RTF export: support multiple paragraphs in editeng text
Write a \par at the end of each paragraph instead of writing one at the
end of the whole text only.
Change-Id: I984b31d4ae3d2e728c993b25bfde761dcad063ae
(cherry picked from commit c321b6182a31cd2e5d6f74e404797bd4c63e537a)
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/filter/ww8/rtfsdrexport.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/rtfsdrexport.cxx b/sw/source/filter/ww8/rtfsdrexport.cxx index cacf2e8055a9..8f3f97f8eead 100644 --- a/sw/source/filter/ww8/rtfsdrexport.cxx +++ b/sw/source/filter/ww8/rtfsdrexport.cxx @@ -606,8 +606,9 @@ void RtfSdrExport::WriteOutliner(const OutlinerParaObject& rParaObj) aAttrIter.NextPos(); } while (nAktPos < nEnd); + m_rAttrOutput.RunText().append(OOO_STRING_SVTOOLS_RTF_PAR); } - m_rAttrOutput.RunText().append(OOO_STRING_SVTOOLS_RTF_PAR).append('}'); + m_rAttrOutput.RunText().append('}'); SAL_INFO("sw.rtf", OSL_THIS_FUNC << " end"); } |