[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - sc/source

Markus Mohrhard markus.mohrhard at googlemail.com
Tue May 31 15:45:31 UTC 2016


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

New commits:
commit bc1fbf9bd866091ed9b7c1f63879bfd264abf4e1
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Wed Jan 27 16:25:50 2016 +0100

    we need the space="preserve" also for formatted strings, tdf#96912
    
    Change-Id: I6e245de697c1c42acd916beb75d4d157b2962a9a
    Reviewed-on: https://gerrit.libreoffice.org/25580
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>

diff --git a/sc/source/filter/excel/xestring.cxx b/sc/source/filter/excel/xestring.cxx
index 7e87879..b0df834 100644
--- a/sc/source/filter/excel/xestring.cxx
+++ b/sc/source/filter/excel/xestring.cxx
@@ -410,7 +410,7 @@ static sal_uInt16 lcl_WriteRun( XclExpXmlStream& rStrm, const ScfUInt16Vec& rBuf
         rWorksheet->endElement( XML_rPr );
     }
     rWorksheet->startElement( XML_t,
-            FSEND );
+                FSNS(XML_xml, XML_space), "preserve", FSEND );
     rWorksheet->writeEscaped( XclXmlUtils::ToOUString( rBuffer, nStart, nLength ) );
     rWorksheet->endElement( XML_t );
     rWorksheet->endElement( XML_r );


More information about the Libreoffice-commits mailing list