Bug 113938 Report is marked dirty when open/close cascading parameter dialog without doing any operation on it
description: Report is marked dirty when open/close cascading parameter dialog without doing any operation on it steps to reproduce: 1.new a cascading parameter group 2.save the reprot 3.double click the cascading parameter to bring out edit box 4.click OK to close edit box actual result: Report has been marked dirty expected result: No dirty marked for that no operations done in edit parameter dialog
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/DEUtil.java
public static int getRGBInt( RGB rgb )
	{
		if ( rgb == null )
		{
			return -1;
		}
		return ( ( rgb.red & 0xff ) << 16 ) | ( ( rgb.green & 0xff ) << 8 )
				| ( rgb.blue & 0xff );
	}
	/**
	 * Gets the list of data sets which can be used for the specified element
	 * 
	 * @param handle
	 *            the handle of the element
	 * @return Returns the list of data sets which can be used for this element
	 */
	public static List getDataSetList( DesignElementHandle handle )
	{
		List dataSetList = new ArrayList( );
		if ( handle instanceof ReportElementHandle )
		{
			if ( handle instanceof ReportItemHandle )
			{
				DesignElementHandle dataSet = ( (ReportItemHandle) handle )
						.getDataSet( );
				if ( dataSet != null && !dataSetList.contains( dataSet ) )
				{
					dataSetList.add( dataSet );
				}
			}