Bug 156497 [Regression][Acceptance]Report isn't refreshed when delete used library file.
Description: Report isn't refreshed when delete used library file. Steps to reproduce: 1.New a library, add a label, input actuate. 2.New a report, extend lib.label 3.Delete the library file. 4.Refresh the report in Outline of the report Expected result: Empty label in Layout. Actual result: label with content "actuate" in Layout.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/Module.java
* unique name and rename it.
	 * 
	 * @param image
	 *            the embedded image whose name is need to check
	 */
	public void rename( EmbeddedImage image )
	{
		if ( image == null )
			return;
		if ( StringUtil.isBlank( image.getName( ) ) )
			return;
		List images = getListProperty( this, IMAGES_PROP );
		if ( images == null )
			return;
		
		List names = new ArrayList( );
		for ( int i = 0; i < images.size( ); i++ )
		{
			EmbeddedImage theImage = (EmbeddedImage) images.get( i );
			String name = theImage.getName( );
			assert !names.contains( name );
			names.add( name );
		}
		
		if ( !names.contains( image.getName( ) ) )
			return;
		
		int index = 0;
		String name = image.getName( );
		String baseName = image.getName( );