[Libreoffice-commits] core.git: sw/source
Miklos Vajna
vmiklos at collabora.co.uk
Mon Dec 7 23:49:52 PST 2015
sw/source/filter/ww8/rtfsdrexport.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit c321b6182a31cd2e5d6f74e404797bd4c63e537a
Author: Miklos Vajna <vmiklos at 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");
}
More information about the Libreoffice-commits
mailing list