[Libreoffice-commits] core.git: sc/source
Markus Mohrhard
markus.mohrhard at googlemail.com
Sat Dec 7 14:27:34 PST 2013
sc/source/filter/excel/xestring.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit e8f23f7576b8e383c9df4ebd399000264227fecb
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Sat Dec 7 12:49:11 2013 +0100
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
diff --git a/sc/source/filter/excel/xestring.cxx b/sc/source/filter/excel/xestring.cxx
index edd5208..9eec03e 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 );
More information about the Libreoffice-commits
mailing list