Bug 155007 Group Toc doesn't work well
Group Toc doesn't work well Steps to reproduce: run the attached file and preview it in html/web viewer/PDF Expected results: Group toc works well Actual results: Group toc doesn't work well
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/ReportQueryBuilder.java
queryIDs = report.getQueryIDs( );
			queryIDs.clear( );
			
			resultMetaData = report.getResultMetaData( );
			resultMetaData.clear( );
			
			for ( int i = 0; i < report.getPageSetup( ).getMasterPageCount( ); i++ )
			{
				MasterPageDesign masterPage = report.getPageSetup( )
						.getMasterPage( i );
				if ( masterPage != null )
				{
					SimpleMasterPageDesign pageDesign = (SimpleMasterPageDesign) masterPage;
					for ( int j = 0; j < pageDesign.getHeaderCount( ); j++ )
					{
						pageDesign.getHeader( j ).accept( this, null );
					}
					for ( int j = 0; j < pageDesign.getFooterCount( ); j++ )
					{
						pageDesign.getFooter( j ).accept( this, null );
					}
				}
			}
			
			for ( int i = 0; i < report.getContentCount( ); i++ )
				report.getContent( i ).accept( this, null );
		}
		/**
		 * Handles query creation and initialization with report-item related
		 * expressions