Kaydet (Commit) e8f23f75 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

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
üst eb600952
...@@ -403,7 +403,6 @@ static sal_uInt16 lcl_WriteRun( XclExpXmlStream& rStrm, const ScfUInt16Vec& rBuf ...@@ -403,7 +403,6 @@ static sal_uInt16 lcl_WriteRun( XclExpXmlStream& rStrm, const ScfUInt16Vec& rBuf
rWorksheet->endElement( XML_rPr ); rWorksheet->endElement( XML_rPr );
} }
rWorksheet->startElement( XML_t, rWorksheet->startElement( XML_t,
FSNS( XML_xml, XML_space ), "preserve",
FSEND ); FSEND );
rWorksheet->writeEscaped( XclXmlUtils::ToOUString( rBuffer, nStart, nLength ) ); rWorksheet->writeEscaped( XclXmlUtils::ToOUString( rBuffer, nStart, nLength ) );
rWorksheet->endElement( XML_t ); rWorksheet->endElement( XML_t );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment