[Libreoffice-commits] core.git: sc/source

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Jul 6 08:59:25 PDT 2015


 sc/source/filter/excel/xestring.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 3004221e47918eb08cfa98ba43a23a0b25412cd5
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sat Apr 18 02:07:58 2015 +0200

    preserve whitespaces here, tdf#88137, tdf#89254
    
    Change-Id: Ieabb075b1e324792726a6c67949fbf3e7127615d
    Reviewed-on: https://gerrit.libreoffice.org/15375
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sc/source/filter/excel/xestring.cxx b/sc/source/filter/excel/xestring.cxx
index 3388048..1404e18 100644
--- a/sc/source/filter/excel/xestring.cxx
+++ b/sc/source/filter/excel/xestring.cxx
@@ -413,7 +413,8 @@ void XclExpString::WriteXml( XclExpXmlStream& rStrm ) const
 
     if( !IsWriteFormats() )
     {
-        rWorksheet->startElement( XML_t, FSEND );
+        rWorksheet->startElement( XML_t,
+                FSNS(XML_xml, XML_space), "preserve", FSEND );
         rWorksheet->writeEscaped( XclXmlUtils::ToOUString( *this ) );
         rWorksheet->endElement( XML_t );
     }


More information about the Libreoffice-commits mailing list