diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-02-18 02:23:59 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-02-18 02:25:45 +0100 |
commit | b57bad8422c0efee8a42660806765f36746bb2fe (patch) | |
tree | 57b9910655a361ca3341ada37dae839afc894996 /sc | |
parent | 53146f93ad0697a7af8b312bfbe424c1066207a1 (diff) |
the string is UTF8 and not Ascii
Change-Id: Ibf9a837ca5689ceae91eff2a081da3b7fe0b9244
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xestream.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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( "\"" ); } |