private void pDestroyCrossRef(cReportSections secs)
{
cReportSection sec = null;
cReportSectionLine secl = null;
for (int _i = 0; _i < secs.count(); _i++)
{
sec = secs.item(_i);
for (int _j = 0; _j < sec.getSectionLines().count(); _j++)
{
secl = sec.getSectionLines().item(_j);
secl.getControls().setSectionLine(null);
if (secl.getControls().getCopyColl() != null)
{
secl.getControls().getCopyColl().clear();
}
secl.getControls().setCopyColl(null);
secl.getControls().clear();
secl.setControls(null);
}
sec.setCopyColl(null);
}
secs.setCopyColl(null);
}