aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/cppquickfixes.h
diff options
context:
space:
mode:
authorLorenz Haas <lykurg@gmail.com>2013-04-04 20:15:01 +0200
committerNikolai Kosjar <nikolai.kosjar@digia.com>2013-04-09 12:04:03 +0200
commit90ba1c2f2345026a7030ef9ae7677e0c0cfc0e3f (patch)
tree5934e5dad4bc91028d2702939d7050e6f5bbbb01 /src/plugins/cppeditor/cppquickfixes.h
parent82e347095c4bdb7a6419d28798639e60591e3992 (diff)
Fix typos in documentation
Change-Id: Ie8b09b8339f219064b4f1d969246a6f84342a4fc Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Diffstat (limited to 'src/plugins/cppeditor/cppquickfixes.h')
-rw-r--r--src/plugins/cppeditor/cppquickfixes.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/cppeditor/cppquickfixes.h b/src/plugins/cppeditor/cppquickfixes.h
index 1a73c6b677..e3230c6eec 100644
--- a/src/plugins/cppeditor/cppquickfixes.h
+++ b/src/plugins/cppeditor/cppquickfixes.h
@@ -252,7 +252,7 @@ public:
if (Type name = foo()) {...}
With
- Type name = foo;
+ Type name = foo();
if (name) {...}
Activates on: the name of the introduced variable
@@ -286,7 +286,8 @@ public:
with
if (something)
- if (something_else)
+ if (something_else) {
+ }
}
and
@@ -350,8 +351,9 @@ public:
if (a)
b;
becomes
- if (a)
+ if (a) {
b;
+ }
Activates on: the if
*/