ClangFormat: Remove reference from const parameter

Offset is never changed anymore in this function.

Change-Id: I5a38fcbd983bbd855b9d72888d67125276a6bf34
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
Ivan Donchevskii
2019-01-09 13:57:12 +01:00
parent b114f77d8a
commit 6b5b94d7ca

View File

@@ -163,7 +163,7 @@ int previousEmptyLinesLength(const QTextBlock &currentBlock)
return length;
}
void modifyToIndentEmptyLines(QByteArray &buffer, int &offset, int &length, const QTextBlock &block)
void modifyToIndentEmptyLines(QByteArray &buffer, int offset, int &length, const QTextBlock &block)
{
const QString blockText = block.text().trimmed();
const bool closingParenBlock = blockText.startsWith(')');