writerfilter/source/rtftok/rtfcontrolwords.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 52e6bfeb324574f2330d191c208860ddc2d532e0
Author: Cédric Bosdonnat <cedric.bosdonnat....@free.fr>
Date:   Fri Nov 25 10:02:02 2011 +0100

    RTF import: fixed the missing paragraph breaks from fdo#43206.
    
    "\\\n" is used as an equivalent to \par even though I couldn't find it
    in the specs.

diff --git a/writerfilter/source/rtftok/rtfcontrolwords.cxx 
b/writerfilter/source/rtftok/rtfcontrolwords.cxx
index 3b82e80..3dd2672 100644
--- a/writerfilter/source/rtftok/rtfcontrolwords.cxx
+++ b/writerfilter/source/rtftok/rtfcontrolwords.cxx
@@ -38,6 +38,7 @@ RTFSymbol aRTFControlWords[] = {
     {"*", CONTROL_SYMBOL, RTF_IGNORE},
     {":", CONTROL_SYMBOL, RTF_SUBENTRY},
     {"\\", CONTROL_SYMBOL, RTF_BACKSLASH},
+    {"\n", CONTROL_SYMBOL, RTF_PAR},
     {"_", CONTROL_SYMBOL, RTF_NOBRKHYPH},
     {"{", CONTROL_SYMBOL, RTF_LBRACE},
     {"|", CONTROL_SYMBOL, RTF_FORMULA},
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to