diff options
Diffstat (limited to 'WebCore/platform/text/qt/TextCodecQt.cpp')
-rw-r--r-- | WebCore/platform/text/qt/TextCodecQt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/text/qt/TextCodecQt.cpp b/WebCore/platform/text/qt/TextCodecQt.cpp index 735d773..94a2b7b 100644 --- a/WebCore/platform/text/qt/TextCodecQt.cpp +++ b/WebCore/platform/text/qt/TextCodecQt.cpp @@ -110,7 +110,7 @@ String TextCodecQt::decode(const char* bytes, size_t length, bool flush, bool /* int size = end - buf; size = qMin(size, MaxInputChunkSize); QString decoded = m_codec->toUnicode(buf, size, &m_state); - unicode.append(decoded); + unicode.append(reinterpret_cast_ptr<const UChar*>(decoded.unicode()), decoded.length()); buf += size; } |