From 3c2523b24220aefa4f3335f11fd8eb7993f29160 Mon Sep 17 00:00:00 2001 From: Paul Wicking Date: Thu, 19 Dec 2019 18:57:39 +0100 Subject: QDoc: Fix whitespace (again) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Whitespace that got reintroduced from an old patch that integrated late. Fix it separately to avoid mixing with other changes. Change-Id: I6e905cd5710a31c671702a6ad9f5711b251e1020 Reviewed-by: Topi Reiniƶ --- src/qdoc/doc.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/qdoc/doc.cpp b/src/qdoc/doc.cpp index 61838b69c..0d5d059d6 100644 --- a/src/qdoc/doc.cpp +++ b/src/qdoc/doc.cpp @@ -1723,15 +1723,13 @@ bool DocParser::isAutoLinkString(const QString &word, int &curPos) } else if (latin1Ch == '_' || latin1Ch == '@') { ++numStrangeSymbols; ++curPos; - } else if ((latin1Ch == ':') && - (curPos < len - 1) && - (word.at(curPos + 1) == QLatin1Char(':'))) { + } else if ((latin1Ch == ':') && (curPos < len - 1) + && (word.at(curPos + 1) == QLatin1Char(':'))) { ++numStrangeSymbols; curPos += 2; } else if (latin1Ch == '(') { if (curPos > startPos) { - if ((curPos < len - 1) && - (word.at(curPos + 1) == QLatin1Char(')'))) { + if ((curPos < len - 1) && (word.at(curPos + 1) == QLatin1Char(')'))) { ++numStrangeSymbols; pos += 2; break; -- cgit v1.2.3