[Libreoffice-commits] .: sw/source

Jan Holesovsky kendy at kemper.freedesktop.org
Fri Aug 5 17:09:49 PDT 2011


 sw/source/filter/ww8/docxattributeoutput.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit ba7c4b7bde85c5eb34ab64698dc9b7df88762319
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Sat Aug 6 02:09:17 2011 +0200

    We convert 0x0B's to <w:br/>'s later in RunText().

diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 608c443..cf3ff8a 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -809,7 +809,6 @@ void DocxAttributeOutput::EndField_Impl( FieldInfos& rInfos )
 
         String sExpand( rInfos.pField->ExpandField( true ) );
         // newlines embedded in fields are 0x0B in MSO and 0x0A for us
-        // [maybe this is not necessary in docx, but safer to do]
         sExpand.SearchAndReplaceAll( 0x0A, 0x0B );
         RunText( sExpand );
 


More information about the Libreoffice-commits mailing list