forked from qt-creator/qt-creator
Clean up whitespace before EOL
Change-Id: I385544a10b9be66589b0d1a48594128035836c8a Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -220,7 +220,7 @@ bool QmlDirParser::parse(const QString &source)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
reportError(lineNumber, -1,
|
||||
reportError(lineNumber, -1,
|
||||
QString::fromUtf8("a component declaration requires two or three arguments, but %1 were provided").arg(sectionCount));
|
||||
}
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ QmlError &QmlError::operator=(const QmlError &other)
|
||||
}
|
||||
|
||||
/*!
|
||||
\internal
|
||||
\internal
|
||||
*/
|
||||
QmlError::~QmlError()
|
||||
{
|
||||
@@ -211,7 +211,7 @@ QString QmlError::toString() const
|
||||
rv = QLatin1String("<Unknown File>");
|
||||
} else if (line() != -1) {
|
||||
rv = url().toString() + QLatin1Char(':') + QString::number(line());
|
||||
if(column() != -1)
|
||||
if(column() != -1)
|
||||
rv += QLatin1Char(':') + QString::number(column());
|
||||
} else {
|
||||
rv = url().toString();
|
||||
@@ -253,7 +253,7 @@ QDebug operator<<(QDebug debug, const QmlError &error)
|
||||
|
||||
if(error.column() > 0) {
|
||||
int column = qMax(0, error.column() - 1);
|
||||
column = qMin(column, line.length());
|
||||
column = qMin(column, line.length());
|
||||
|
||||
QByteArray ind;
|
||||
ind.reserve(column);
|
||||
|
||||
@@ -556,7 +556,7 @@ again:
|
||||
_validTokenText = true;
|
||||
_tokenText.resize(0);
|
||||
startCode--;
|
||||
while (startCode != _codePtr - 1)
|
||||
while (startCode != _codePtr - 1)
|
||||
_tokenText += *startCode++;
|
||||
|
||||
while (! _char.isNull()) {
|
||||
|
||||
@@ -751,7 +751,7 @@ public:
|
||||
|
||||
AST::UiQualifiedId *qmlTypeName() const;
|
||||
|
||||
private:
|
||||
private:
|
||||
virtual const Value *value(ReferenceContext *referenceContext) const;
|
||||
|
||||
AST::UiQualifiedId *_qmlTypeName;
|
||||
|
||||
Reference in New Issue
Block a user