diff --git a/generators/dvi/fontpool.cpp b/generators/dvi/fontpool.cpp index ca1bdf589..15ce51f21 100644 --- a/generators/dvi/fontpool.cpp +++ b/generators/dvi/fontpool.cpp @@ -315,7 +315,7 @@ void fontPool::locateFonts(bool makePK, bool locateTFMonly, bool *virtualFontsFo } // Create a list with all filenames found by the kpsewhich program. - const QStringList fileNameList = QString::fromLocal8Bit(kpsewhich_->readAll()).split(QLatin1Char('\n'), QString::SkipEmptyParts); + const QStringList fileNameList = QString::fromLocal8Bit(kpsewhich_->readAll()).split(QLatin1Char('\n'), Qt::SkipEmptyParts); // Now associate the file names found with the fonts QList::iterator it_fontp = fontList.begin(); diff --git a/generators/xps/generator_xps.cpp b/generators/xps/generator_xps.cpp index d7874f6aa..39daa846f 100644 --- a/generators/xps/generator_xps.cpp +++ b/generators/xps/generator_xps.cpp @@ -1003,7 +1003,7 @@ void XpsHandler::processPath(XpsRenderNode &node) } att = node.attributes.value(QStringLiteral("StrokeDashArray")); if (!att.isEmpty()) { - const QStringList pieces = att.split(QLatin1Char(' '), QString::SkipEmptyParts); + const QStringList pieces = att.split(QLatin1Char(' '), Qt::SkipEmptyParts); QVector dashPattern(pieces.count()); bool ok = false; for (int i = 0; i < pieces.count(); ++i) { @@ -1165,7 +1165,7 @@ void XpsHandler::processPathFigure(XpsRenderNode &node) if (child.name == QLatin1String("PolyLineSegment")) { att = child.attributes.value(QStringLiteral("Points")); if (!att.isEmpty()) { - const QStringList points = att.split(QLatin1Char(' '), QString::SkipEmptyParts); + const QStringList points = att.split(QLatin1Char(' '), Qt::SkipEmptyParts); for (const QString &p : points) { QPointF point = getPointFromString(p); path.lineTo(point); @@ -1176,7 +1176,7 @@ void XpsHandler::processPathFigure(XpsRenderNode &node) else if (child.name == QLatin1String("PolyBezierSegment")) { att = child.attributes.value(QStringLiteral("Points")); if (!att.isEmpty()) { - const QStringList points = att.split(QLatin1Char(' '), QString::SkipEmptyParts); + const QStringList points = att.split(QLatin1Char(' '), Qt::SkipEmptyParts); if (points.count() % 3 == 0) { for (int i = 0; i < points.count();) { QPointF firstControl = getPointFromString(points.at(i++)); @@ -1191,7 +1191,7 @@ void XpsHandler::processPathFigure(XpsRenderNode &node) else if (child.name == QLatin1String("PolyQuadraticBezierSegment")) { att = child.attributes.value(QStringLiteral("Points")); if (!att.isEmpty()) { - const QStringList points = att.split(QLatin1Char(' '), QString::SkipEmptyParts); + const QStringList points = att.split(QLatin1Char(' '), Qt::SkipEmptyParts); if (points.count() % 2 == 0) { for (int i = 0; i < points.count();) { QPointF point1 = getPointFromString(points.at(i++));