summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/qdoc/doc.cpp8
1 files 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;