OSDN Git Service

Merge branch 'origin/2.0' (early part)
[qt-creator-jp/qt-creator-jp.git] / src / plugins / texteditor / basetexteditor.cpp
index 1993ff7..2612647 100644 (file)
@@ -3774,7 +3774,7 @@ void BaseTextEditor::zoomReset()
     emit requestZoomReset();
 }
 
-bool BaseTextEditor::isElectricCharacter(const QChar &) const
+bool BaseTextEditor::isElectricCharacter(QChar) const
 {
     return false;
 }
@@ -3831,7 +3831,7 @@ bool BaseTextEditor::isInComment(const QTextCursor &cursor) const
 }
 
 QString BaseTextEditor::insertMatchingBrace(const QTextCursor &tc, const QString &text,
-                                            const QChar &la, int *skippedChars) const
+                                            QChar la, int *skippedChars) const
 {
     Q_UNUSED(tc);
     Q_UNUSED(text);