From 45f516211cafac0ff18078367692c873938dc025 Mon Sep 17 00:00:00 2001 From: Lars Schmertmann Date: Wed, 17 Jun 2020 19:45:59 +0200 Subject: Add ; to Q_UNUSED MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: I24cc0f6735ddd8fb2444bc3bb4e7b202e8bbb43f Reviewed-by: Edward Welbourne Reviewed-by: MÃ¥rten Nordheim --- src/svg/qsvghandler.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/svg/qsvghandler.cpp b/src/svg/qsvghandler.cpp index 3d997f1..e8f7844 100644 --- a/src/svg/qsvghandler.cpp +++ b/src/svg/qsvghandler.cpp @@ -3232,8 +3232,8 @@ static bool parseStyleNode(QSvgNode *parent, { Q_UNUSED(parent); #ifdef QT_NO_CSSPARSER - Q_UNUSED(attributes) - Q_UNUSED(handler) + Q_UNUSED(attributes); + Q_UNUSED(handler); #else const QStringRef type = attributes.value(QLatin1String("type")); if (type.compare(QLatin1String("text/css"), Qt::CaseInsensitive) == 0 || type.isNull()) @@ -3850,7 +3850,7 @@ bool QSvgHandler::endElement(const QStringRef &localName) } #ifdef QT_NO_CSSPARSER - Q_UNUSED(localName) + Q_UNUSED(localName); #else if (m_inStyle && localName == QLatin1String("style")) m_inStyle = false; @@ -4028,8 +4028,8 @@ QSvgStyleSelector * QSvgHandler::selector() const bool QSvgHandler::processingInstruction(const QString &target, const QString &data) { #ifdef QT_NO_CSSPARSER - Q_UNUSED(target) - Q_UNUSED(data) + Q_UNUSED(target); + Q_UNUSED(data); #else if (target == QLatin1String("xml-stylesheet")) { QRegularExpression rx(QLatin1String("type=\\\"(.+)\\\""), -- cgit v1.2.1