[Libreoffice-commits] core.git: sc/source
Katarina Behrens
Katarina.Behrens at cib.de
Thu Nov 5 09:29:24 PST 2015
sc/source/filter/excel/xestring.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 825f8422bb2cce52bd3095a63de14b34b32ae37c
Author: Katarina Behrens <Katarina.Behrens at cib.de>
Date: Thu Nov 5 11:44:17 2015 +0100
tdf#88137, tdf#89254: Preserve whitespace also in formatted strings
Change-Id: I5c160e5e032e35be659eba00d25b79cebfcfcfc9
Reviewed-on: https://gerrit.libreoffice.org/19798
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Eike Rathke <erack at redhat.com>
Tested-by: Eike Rathke <erack at redhat.com>
diff --git a/sc/source/filter/excel/xestring.cxx b/sc/source/filter/excel/xestring.cxx
index 6076f5a..4bb7406 100644
--- a/sc/source/filter/excel/xestring.cxx
+++ b/sc/source/filter/excel/xestring.cxx
@@ -401,7 +401,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