1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 14:55:41 +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) { if (obj != null) {
// Check if the type is valid. // Check if the type is valid.
checkType(type); checkType(type);
VariableObject vo = new VariableObject(obj.getTarget(), VariableObject vo =
obj.getQualifiedName(), obj.getStackFrame(), obj.getPosition(), obj.getStackDepth()); new VariableObject(
vo.setCastingType(type); obj.getTarget(),
obj.getQualifiedName(),
obj.getStackFrame(),
obj.getPosition(),
obj.getStackDepth());
vo.setCastingArrayStart(start); vo.setCastingArrayStart(start);
vo.setCastingArrayEnd(length); vo.setCastingArrayEnd(length);
return vo; return vo;