summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-12-07 12:49:11 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-12-07 23:27:07 +0100
commite8f23f7576b8e383c9df4ebd399000264227fecb (patch)
tree9a7f0136698d37e37b6dc39c4dac42f05df8737e /sc
parenteb60095292b5ef8dc94a0b166151d3a79c9df156 (diff)
don't write this default attribute
"preserve" is the default value and the OOXML spec sadly does not contain the definition for xml:space. It is only mentioned in the documentation so validation against the schema file fails. Change-Id: I53f804e189dca585fceb4474b96b1b4536d5bde4
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xestring.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xestring.cxx b/sc/source/filter/excel/xestring.cxx
index edd5208918bf..9eec03edc219 100644
--- a/sc/source/filter/excel/xestring.cxx
+++ b/sc/source/filter/excel/xestring.cxx
@@ -403,7 +403,6 @@ static sal_uInt16 lcl_WriteRun( XclExpXmlStream& rStrm, const ScfUInt16Vec& rBuf
rWorksheet->endElement( XML_rPr );
}
rWorksheet->startElement( XML_t,
- FSNS( XML_xml, XML_space ), "preserve",
FSEND );
rWorksheet->writeEscaped( XclXmlUtils::ToOUString( rBuffer, nStart, nLength ) );
rWorksheet->endElement( XML_t );