Bug 172273 Grid insert to masterpage dosen't display propertily [05]
Build Number: 2.2.0.v20070131-1050 Description: As the screenshot, insert a grid (3*3) in the master page.It can't be display propertily. Step to reproduce: 1. new a report and switch to masterpage 2. insert a grid (3*3) Actual result: Please refer to the screenshot, it's abnormal.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/StyledElement.java
* retrieved from this element extends hierarchy.
	 * 
	 * @return style element. null if this element didn't define a style on it.
	 * 
	 * 
	 */
	public StyleElement getStyle( )
	{
		if ( style == null )
			return null;
		return (StyleElement) style.getElement( );
	}
	/**
	 * Sets the style. If null, the style is cleared.
	 * 
	 * @param newStyle
	 *            the style to set
	 */
	public void setStyle( StyleElement newStyle )
	{
		StyleElement oldStyle = null;
		if ( style != null )
			oldStyle = (StyleElement) style.getElement( );
		
		
		
		if ( oldStyle == newStyle && ( style == null || style.isResolved( ) ) )
			return;
		if ( oldStyle != null )
			oldStyle.dropClient( this );