Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi,

this patch fixes an RTF import problem.

Christina
From f51fb1f48aa2fce3db9681296d940687a455a2d7 Mon Sep 17 00:00:00 2001
From: Christina Rossmanith <ChrRossmanith@web.de>
Date: Sat, 10 Mar 2012 15:21:49 +0100
Subject: [PATCH] [PATCH] Bug 45563 - incorrect IMPORT of Zotero RTF, regression

---
 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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.