From b57bad8422c0efee8a42660806765f36746bb2fe Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Tue, 18 Feb 2014 02:23:59 +0100 Subject: the string is UTF8 and not Ascii Change-Id: Ibf9a837ca5689ceae91eff2a081da3b7fe0b9244 --- sc/source/filter/excel/xestream.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx index 77c6295d93d1..30d774f92dbf 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( "\"" ); } -- cgit