sc/source/filter/excel/xestream.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d6e600952403dacbcbf684a30b48ff5c4765ec55 Author: Markus Mohrhard <markus.mohrh...@collabora.co.uk> Date: Tue Feb 18 02:23:59 2014 +0100 the string is UTF8 and not Ascii Change-Id: Ibf9a837ca5689ceae91eff2a081da3b7fe0b9244 Reviewed-on: https://gerrit.libreoffice.org/8094 Reviewed-by: Kohei Yoshida <libreoff...@kohei.us> Tested-by: Kohei Yoshida <libreoff...@kohei.us> diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx index 795f86ba..97676df 100644 --- a/sc/source/filter/excel/xestream.cxx +++ b/sc/source/filter/excel/xestream.cxx @@ -1016,7 +1016,7 @@ sax_fastparser::FSHelperPtr& XclExpXmlStream::WriteAttributesInternal( sal_Int32 rStream->write( " " ) ->writeId( nAttribute ) ->write( "=\"" ) - ->writeEscaped( pValue ) + ->writeEscaped( OUString(pValue, std::strlen(pValue), RTL_TEXTENCODING_UTF8) ) ->write( "\"" ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits