summaryrefslogtreecommitdiffstats
path: root/src/corelib/codecs/qtextcodec.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2010-01-07 12:53:15 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2010-01-07 12:54:05 (GMT)
commitd401e8bdde67b6fa0523cdaeccaeb80333ab36e7 (patch)
tree9bd971f9499f0aae0f68e4f62fd12c09dd0441e7 /src/corelib/codecs/qtextcodec.h
parent45088f4fcdbf7cadb11e31a1f77f0d77828e8c78 (diff)
downloadQt-d401e8bdde67b6fa0523cdaeccaeb80333ab36e7.zip
Qt-d401e8bdde67b6fa0523cdaeccaeb80333ab36e7.tar.gz
Qt-d401e8bdde67b6fa0523cdaeccaeb80333ab36e7.tar.bz2
Prospective Qt/Mac build fix
On Mac/32 QXmlStreamWriter is actually QCoreXmlStreamWriter, so the friend declaration in QTextEncoder to access the private state needs to cover that class, too. Reviewed-by: Prasanth
Diffstat (limited to 'src/corelib/codecs/qtextcodec.h')
-rw-r--r--src/corelib/codecs/qtextcodec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/codecs/qtextcodec.h b/src/corelib/codecs/qtextcodec.h
index d61cd6b..a099dd9 100644
--- a/src/corelib/codecs/qtextcodec.h
+++ b/src/corelib/codecs/qtextcodec.h
@@ -170,6 +170,8 @@ private:
friend class QXmlStreamWriter;
friend class QXmlStreamWriterPrivate;
+ friend class QCoreXmlStreamWriter;
+ friend class QCoreXmlStreamWriterPrivate;
};
class Q_CORE_EXPORT QTextDecoder {