sw/source/filter/ww8/rtfsdrexport.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit c321b6182a31cd2e5d6f74e404797bd4c63e537a Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Tue Dec 8 08:49:03 2015 +0100 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 diff --git a/sw/source/filter/ww8/rtfsdrexport.cxx b/sw/source/filter/ww8/rtfsdrexport.cxx index cacf2e8..8f3f97f 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"); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits