Bug 122869 Drag a parameter from data explorer view into a table in library, a new parameter is created automatically.
Description:Drag a parameter from data explorer view into a table in library, a new parameter is created automatically. Steps to reproduce: 1. Add a cascading parameter and a table in a library file. 2. Drag a parameter from data explorer view into a table cell in layout editor. 3. Find that a new parameter was added in data explorer view automatically.
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/DEUtil.java
}
	}
	private static int getSmallerFontSizeIntValue( DesignElementHandle handle )
	{
		if ( !( handle instanceof ReportItemHandle ) )
		{
			if ( handle instanceof ModuleHandle )
			{
				
				String size = (String) DesignerConstants.fontMap
						.get( DesignChoiceConstants.FONT_SIZE_MEDIUM );
				return Integer.parseInt( size ) - 1;
			}
			if ( handle instanceof GroupHandle )
			{
				handle = handle.getContainer( );
			}
		}
		Object fontSizeValue = getModelFontSize( handle );
		if ( fontSizeValue instanceof DimensionValue )
		{
			int gParentFontSize = getFontSizeIntValue( handle.getContainer( ) );
			int size = (int) CSSUtil.convertToPoint( fontSizeValue,
					gParentFontSize ) - 1;
			if ( size < 1 )
			{
				return 1;
			}
			return size;
		}