summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppcodecompletion.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-01-11 12:54:50 +0100
committercon <qtc-committer@nokia.com>2010-01-11 16:17:28 +0100
commit79bf4183056d9ae950d44dc538d7276500268293 (patch)
tree5d5cd0e48f8bb7cd7571ab5c16f503c65f45a0b7 /src/plugins/cpptools/cppcodecompletion.cpp
parent2b46f828b4ae2f41c4efc9fde7e8b7c5e271b4de (diff)
downloadqt-creator-79bf4183056d9ae950d44dc538d7276500268293.tar.gz
Fixed logic for whether to skip or insert a closing brace
Due to wrongly checking whether findPreviousBlockOpenParenthesis and findNextBlockOpenParenthesis actually found anything, the wrong range was counted when a code block start or end was not found. Reviewed-by: mae
Diffstat (limited to 'src/plugins/cpptools/cppcodecompletion.cpp')
0 files changed, 0 insertions, 0 deletions