Bug 214065 [Regression]Group TOC are created automatically when preview in Web viewer and PDF
Description: [Regression]Group TOC are created automatically when preview in Web viewer and PDF Build number: 2.3.0.v200701012-1021 Steps to reproduce: 1, New a table binding with dataset 2, New a group on table and do not specify the group toc 3, Preview in Web viewer and PDF Expected result: No default TOC of group Actual result: Some empty group toc created automatically in preview Error log:
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/toc/TOCBuilder.java
}
	/**
	 * close the entry. for top level toc, all entry must be put into the root
	 * entry. for group toc, we must create a root entry, and put all others
	 * into the root entry.
	 */
	public void closeEntry( TOCEntry entry )
	{
	}
	
	public TOCEntry getTOCEntry( )
	{
		return rootEntry;
	}
	
	public TOCTree getTOCTree( )
	{
		return tocTree;
	}
	static public void write( TOCTree tree, DataOutputStream out )
			throws IOException
	{
		IOUtil.writeString( out, VERSION );
		if ( tree != null )
		{
			writeTOC( tree.getTOCRoot( ), out );
		}
		else
		{
			writeTOC( new TOCTreeNode( ), out );