[PATCH] [PATCH] Bug 45563 - incorrect IMPORT of Zotero RTF, regression

Christina Rossmanith ChrRossmanith at web.de
Sat Mar 10 06:21:49 PST 2012


---
 writerfilter/source/rtftok/rtfcontrolwords.cxx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/writerfilter/source/rtftok/rtfcontrolwords.cxx b/writerfilter/source/rtftok/rtfcontrolwords.cxx
index 3dd2672..4472b6b 100644
--- a/writerfilter/source/rtftok/rtfcontrolwords.cxx
+++ b/writerfilter/source/rtftok/rtfcontrolwords.cxx
@@ -38,7 +38,7 @@ RTFSymbol aRTFControlWords[] = {
     {"*", CONTROL_SYMBOL, RTF_IGNORE},
     {":", CONTROL_SYMBOL, RTF_SUBENTRY},
     {"\\", CONTROL_SYMBOL, RTF_BACKSLASH},
-    {"\n", CONTROL_SYMBOL, RTF_PAR},
+    {"\r", CONTROL_SYMBOL, RTF_PAR},
     {"_", CONTROL_SYMBOL, RTF_NOBRKHYPH},
     {"{", CONTROL_SYMBOL, RTF_LBRACE},
     {"|", CONTROL_SYMBOL, RTF_FORMULA},
-- 
1.7.4.1


--------------050703040903090407050005--


More information about the LibreOffice mailing list