Bug 149783 Display text for extend elelment in master page is not found
Steps to reproduce: 1.New a library, add a properties file for the library, add pair"k1=actuate" to the properties file 2.Add a label "aaa" in master page header, set "k1" as the text key 3.Publish the library 4.New a report, extend lib.masterpage 5.Open extended master page in report Expected result: label shows display text "actuate" Actual result: label shows text "aaa"
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ModelUtil.java
*/
	public static List filterLayoutTasks( List tasks )
	{
		List retList = new ArrayList( );
		Set elements = new LinkedHashSet( );
		for ( int i = 0; i < tasks.size( ); i++ )
		{
			RecordTask task = (RecordTask) tasks.get( i );
			if ( task instanceof LayoutRecordTask )
			{
				DesignElement compoundElement = (DesignElement) ( (LayoutRecordTask) task )
						.getTarget( );
				if ( !elements.contains( compoundElement ) )
				{
					retList.add( task );
					elements.add( compoundElement );
				}
			}
		}
		return retList;
	}
	/**
	 * Returns the first fatal exception from the given exception list. The
	 * fatal exception means the error should be forwarded to the outer-most
	 * host module and stops opening module.
	 * 
	 * @param list
	 *            the exception list
	 * @return the fatal exception, otherwise, return null.
	 */