diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-11-17 19:31:42 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-11-20 02:39:04 (GMT) |
commit | a8eb11380e2dde76eccb3f70aa5da4c9490fbee7 (patch) | |
tree | 51ca9521b647eab3a408e7ef01664c2d63dc8f26 /src | |
parent | 38374b715203f5514e022fe739870a6d191fd3d5 (diff) | |
download | Qt-a8eb11380e2dde76eccb3f70aa5da4c9490fbee7.zip Qt-a8eb11380e2dde76eccb3f70aa5da4c9490fbee7.tar.gz Qt-a8eb11380e2dde76eccb3f70aa5da4c9490fbee7.tar.bz2 |
remove bogus doc paragraphs relating to codecForUtfText()
these aren't *strictly* bogus, but rather confusing. the real issue is
that the functions would get confused by something which looks like a
BOM, but isn't, and there is nothing one could do about it.
Reviewed-by: Volker Hilsheimer
(cherry picked from commit bb4e301ce6762ab300618c579bd65ea1ee17dc2d)
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/codecs/qtextcodec.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/corelib/codecs/qtextcodec.cpp b/src/corelib/codecs/qtextcodec.cpp index 07bad8a..7df7727 100644 --- a/src/corelib/codecs/qtextcodec.cpp +++ b/src/corelib/codecs/qtextcodec.cpp @@ -1573,9 +1573,6 @@ QTextCodec *QTextCodec::codecForHtml(const QByteArray &ba) cannot be detected from the content provided, \a defaultCodec is returned. - The behavior of this function is undefined if \a ba is not - encoded in unicode. - \sa codecForHtml() */ QTextCodec *QTextCodec::codecForUtfText(const QByteArray &ba, QTextCodec *defaultCodec) @@ -1620,9 +1617,6 @@ QTextCodec *QTextCodec::codecForUtfText(const QByteArray &ba, QTextCodec *defaul that is capable of decoding the text to unicode. If the codec cannot be detected, this overload returns a Latin-1 QTextCodec. - The behavior of this function is undefined if \a ba is not - encoded in unicode. - \sa codecForHtml() */ QTextCodec *QTextCodec::codecForUtfText(const QByteArray &ba) |