1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-31 21:05:37 +02:00

do not use the type argument in getVarialbleObjectAsArray()

This commit is contained in:
Alain Magloire 2003-08-08 02:58:03 +00:00
parent 9c4762f0b7
commit e3c7f992fb

View file

@ -303,9 +303,13 @@ public class VariableManager extends SessionObject implements ICDIVariableManage
if (obj != null) {
// Check if the type is valid.
checkType(type);
VariableObject vo = new VariableObject(obj.getTarget(),
obj.getQualifiedName(), obj.getStackFrame(), obj.getPosition(), obj.getStackDepth());
vo.setCastingType(type);
VariableObject vo =
new VariableObject(
obj.getTarget(),
obj.getQualifiedName(),
obj.getStackFrame(),
obj.getPosition(),
obj.getStackDepth());
vo.setCastingArrayStart(start);
vo.setCastingArrayEnd(length);
return vo;