summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-01-27 16:25:50 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-01-27 21:28:40 +0100
commit8aa853b2365430558693a32aa23825e199543cf9 (patch)
treed6f8188a88d4241fe388c404ef426fc52991df7d
parent4d43f0c018c1f0fb12f55ebb16c074fb60a8aa73 (diff)
we need the space="preserve" also for formatted strings, tdf#96912
Change-Id: I6e245de697c1c42acd916beb75d4d157b2962a9a
-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 58d1acef6731..d30b2f74a4ba 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 );