X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Variable.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Variable.java index 69163ca..443de28 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Variable.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Variable.java @@ -78,9 +78,9 @@ public class Variable extends AbstractVariable { public List getUsedVariable() { final ArrayList list = new ArrayList(1); if (name == null) { - list.add(new VariableUsage(variable.getName(), getSourceStart())); + list.add(new VariableUsage(variable.getName(), sourceStart)); } else { - list.add(new VariableUsage(name, getSourceStart())); + list.add(new VariableUsage(name, sourceStart)); } return list; }