Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/extractfunction/ExtractFunctionRefactoring.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/extractfunction/ExtractFunctionRefactoring.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/extractfunction/ExtractFunctionRefactoring.java
index 394474a1e0..cb394bc9e8 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/extractfunction/ExtractFunctionRefactoring.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/extractfunction/ExtractFunctionRefactoring.java
@@ -840,9 +840,9 @@ public class ExtractFunctionRefactoring extends CRefactoring {
}
private void addParameterIfPossible(List<IASTInitializerClause> args,
- List<IASTName> declarations, NameInformation nameInfо) {
- if (!nameInfо.isDeclaredInSelection()) {
- IASTName declaration = nameInfо.getDeclaration();
+ List<IASTName> declarations, NameInformation nameInfo) {
+ if (!nameInfo.isDeclaredInSelection()) {
+ IASTName declaration = nameInfo.getDeclaration();
if (!declarations.contains(declaration)) {
declarations.add(declaration);
IASTIdExpression expression = new CPPASTIdExpression();

Back to the top