Bug 147995 Master page lost when drill through to a report document
Description: Master page lost when drill through to a report document Steps to reproduce: 1. New a report rpt1 with master page 2. Generate the report document for rpt1 3. New another report rpt2, drill through to the report document 4. Preview rpt2, link to the report document, master page is missing
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
renderReport( out, request, reportDocument, pageNumber, masterPage,
				svgFlag, activeIds, locale, rtl );
		return out;
	}
	/**
	 * Render report page.
	 * 
	 * @param os
	 * @param reportDocument
	 * @param pageNumber
	 * @param svgFlag
	 * @return report page content
	 * @throws RemoteException
	 */
	public void renderReport( OutputStream os, HttpServletRequest request,
			IReportDocument reportDocument, long pageNumber,
			boolean masterPage, boolean svgFlag, List activeIds, Locale locale,
			boolean rtl ) throws RemoteException
	{
		assert reportDocument != null;
		assert pageNumber > 0 && pageNumber <= reportDocument.getPageCount( );
		OutputStream out = os;
		if ( out == null )
			out = new ByteArrayOutputStream( );
		
		IRenderTask renderTask = null;
		synchronized ( this.getClass( ) )
		{
			renderTask = engine.createRenderTask( reportDocument );
		}