}
else { // We don't want an aggregate for this slot
if (slot.aggregate != null) {
String functionName =
getAggregateField(slot.aggregate).getFunction();
DeleteAggregateCommand cmd =
new DeleteAggregateCommand(report, fieldWidget,
slot.aggregate, functionName,
(Group)key);
cmd.perform();
commands.add(cmd);
slot.aggregate = null;
}
}
}