From 5df7b967359b1e94df2e2daadaa3d4f9175ad4fb Mon Sep 17 00:00:00 2001
From: Roberto Raggi <roberto.raggi@nokia.com>
Date: Fri, 18 Sep 2009 12:26:39 +0200
Subject: [PATCH] Renamed maybeOverrideCharacter()

---
 src/libs/cplusplus/MatchingText.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libs/cplusplus/MatchingText.cpp b/src/libs/cplusplus/MatchingText.cpp
index 8023449eee2..8813e890bee 100644
--- a/src/libs/cplusplus/MatchingText.cpp
+++ b/src/libs/cplusplus/MatchingText.cpp
@@ -38,7 +38,7 @@ using namespace CPlusPlus;
 
 enum { MAX_NUM_LINES = 20 };
 
-static bool maybeOverrideChar(const QChar &ch)
+static bool shouldOverrideChar(const QChar &ch)
 {
     switch (ch.unicode()) {
     case ')': case ']': case ';': case '"': case '\'':
@@ -109,7 +109,7 @@ QString MatchingText::insertMatchingBrace(const QTextCursor &cursor, const QStri
 
         if (ch1 != ch2)
             break;
-        else if (! maybeOverrideChar(ch1))
+        else if (! shouldOverrideChar(ch1))
             break;
 
         ++*skippedChars;
-- 
GitLab