summaryrefslogtreecommitdiffstats
path: root/src/corelib/xml/qxmlstream.cpp
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2009-05-29 12:41:19 (GMT)
committerDavid Faure <faure@kde.org>2009-05-29 12:41:19 (GMT)
commit5d0870bd71f33c9267572655d0f842c82b017d6a (patch)
treef983ac36c0c46aa226a8b51b4e6db13b4f76ff40 /src/corelib/xml/qxmlstream.cpp
parent1d8a4f55ce40400fcb35a645f2e94837e6ab0a24 (diff)
parent9088aeae9daf02546769377853824397458ba822 (diff)
downloadQt-5d0870bd71f33c9267572655d0f842c82b017d6a.zip
Qt-5d0870bd71f33c9267572655d0f842c82b017d6a.tar.gz
Qt-5d0870bd71f33c9267572655d0f842c82b017d6a.tar.bz2
Merge branch 'master' of git://gitorious.org/qt/qt
Diffstat (limited to 'src/corelib/xml/qxmlstream.cpp')
-rw-r--r--src/corelib/xml/qxmlstream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/xml/qxmlstream.cpp b/src/corelib/xml/qxmlstream.cpp
index ff1a01f..5e1fec3 100644
--- a/src/corelib/xml/qxmlstream.cpp
+++ b/src/corelib/xml/qxmlstream.cpp
@@ -3058,7 +3058,7 @@ QXmlStreamPrivateTagStack::NamespaceDeclaration &QXmlStreamWriterPrivate::findNa
QString s;
int n = ++namespacePrefixCount;
forever {
- s = QLatin1String("n") + QString::number(n++);
+ s = QLatin1Char('n') + QString::number(n++);
int j = namespaceDeclarations.size() - 2;
while (j >= 0 && namespaceDeclarations.at(j).prefix != s)
--j;