summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-01-27 16:25:50 +0100
committerMichael Meeks <michael.meeks@collabora.com>2016-05-31 15:45:01 +0000
commitbc1fbf9bd866091ed9b7c1f63879bfd264abf4e1 (patch)
treebb54f1ca534f2d01a777693b9522eb95f4cc12b1 /sc
parentb03a774cb20d452b890b3c6ccaff53332000b5d9 (diff)
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@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xestring.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xestring.cxx b/sc/source/filter/excel/xestring.cxx
index 7e87879b11b9..b0df83429b1a 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 );