Bug 151202 [regression]Set default master page to item in cell will cause blank page
Description: Set default master page to item in cell will cause blank page Steps to reproduce: 1. New a report 2. Insert a grid(1*1) 3. Insert a label to grid cell 4. Select the label and set default master page to it 5. Preview in Web Viewer and pdf Expected result: No blank page, just one page for grid display. Actual result: A blank page before grid page
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/html/HTMLAbstractLM.java
{
		if ( content == null )
		{
			return false;
		}
		boolean ret = hasMasterPageChanged( );
		IStyle style = content.getStyle( );
		String pageBreak = style.getPageBreakBefore( );
		if ( IStyle.CSS_ALWAYS_VALUE == pageBreak
				|| IStyle.CSS_LEFT_VALUE == pageBreak
				|| IStyle.CSS_RIGHT_VALUE == pageBreak
				|| IStyle.BIRT_SOFT_VALUE == pageBreak )
		{
			style.setPageBreakBefore( IStyle.CSS_AUTO_VALUE );
			return true;
		}
		return ret;
	}
	protected boolean needPageBreakAfter( )
	{
		if ( content == null )
		{
			return false;
		}
		IStyle style = content.getStyle( );
		String pageBreak = style.getPageBreakAfter( );
		if ( IStyle.CSS_ALWAYS_VALUE == pageBreak
				|| IStyle.CSS_LEFT_VALUE == pageBreak
				|| IStyle.CSS_RIGHT_VALUE == pageBreak )
		{