diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2012-05-23 03:49:57 +0300 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-25 21:49:21 +0200 |
commit | 09f20e75a4556e9c2f24db8606def88770e6f5df (patch) | |
tree | 79ab22178fe6168022aa5297ca69e954b8590ebc /src/xml/sax/qxml.cpp | |
parent | c31681ab623297ce767d78d68b04ccf551607ef1 (diff) |
Replace `const QLatin1String &` with `QLatin1String` where appropriate
Task-Id: QTBUG-24502
Change-Id: I360dee4dc68c165de0631ce4cf34e76fd873080e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/xml/sax/qxml.cpp')
-rw-r--r-- | src/xml/sax/qxml.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xml/sax/qxml.cpp b/src/xml/sax/qxml.cpp index b841debd66..4a99681101 100644 --- a/src/xml/sax/qxml.cpp +++ b/src/xml/sax/qxml.cpp @@ -1010,7 +1010,7 @@ int QXmlAttributes::index(const QString& qName) const /*! \overload */ -int QXmlAttributes::index(const QLatin1String& qName) const +int QXmlAttributes::index(QLatin1String qName) const { for (int i = 0; i < attList.size(); ++i) { if (attList.at(i).qname == qName) @@ -1167,7 +1167,7 @@ QString QXmlAttributes::value(const QString& qName) const \sa {Namespace Support via Features} */ -QString QXmlAttributes::value(const QLatin1String& qName) const +QString QXmlAttributes::value(QLatin1String qName) const { int i = index(qName); if (i == -1) |