diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-04-22 09:57:51 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-04-25 12:13:45 +0200 |
| commit | da43cf70a9d125576f3795d7088e0100a4035ce5 (patch) | |
| tree | 214954e777b54eb9483df3939dbb26a08eb0fc2a /sources/shiboken6/ApiExtractor/xmlutils_libxslt.cpp | |
| parent | 42666b5bab09a80a65ae8f61961985f4923b7d65 (diff) | |
Migrate from QLatin1String to UTF-16 string literals
Use the QStringView overloads of the comparison functions in order to
minimize merge conflicts after the deprecation of QLatin1String in 6.4.
Task-number: QTBUG-98434
Pick-to: 6.3 6.2
Change-Id: Ia0df398ab8f3e61a0b629971ccbec2273a78499b
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/xmlutils_libxslt.cpp')
| -rw-r--r-- | sources/shiboken6/ApiExtractor/xmlutils_libxslt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/xmlutils_libxslt.cpp b/sources/shiboken6/ApiExtractor/xmlutils_libxslt.cpp index 92a897cac..ef4316951 100644 --- a/sources/shiboken6/ApiExtractor/xmlutils_libxslt.cpp +++ b/sources/shiboken6/ApiExtractor/xmlutils_libxslt.cpp @@ -187,7 +187,7 @@ QString libXslt_transform(const QString &xml, QString xsl, QString *errorMessage { ensureInitialized(); // Read XML data - if (!xsl.startsWith(QLatin1String("<?xml"))) { + if (!xsl.startsWith(u"<?xml")) { xsl.prepend(QLatin1String(xsltPrefix)); xsl.append(QLatin1String("</xsl:transform>")); } |
