Fix compilation error in CSReportEditor