Bug 176450 Support link to CSS Feature(Model Part)
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/elements/Theme.java
for ( int i = 0; i < slots[STYLES_SLOT].getCount( ); i++ )
		{
			StyleElement tmpStyle = (StyleElement) slots[STYLES_SLOT]
					.getContent( i );
			if ( tmpStyle.getName( ).equalsIgnoreCase( styleName ) )
			{
				style = tmpStyle;
				break;
			}
		}
		return style;
	}
	
	
	/*
	 * (non-Javadoc)
	 * @see org.eclipse.birt.report.model.core.DesignElement#checkContent(org.eclipse.birt.report.model.core.Module, org.eclipse.birt.report.model.core.ContainerInfo, org.eclipse.birt.report.model.core.DesignElement)
	 */
	public List checkContent( Module module, ContainerContext containerInfo, DesignElement content )
	{
		List tmpErrors = super.checkContent( module, containerInfo, content );
		if ( !tmpErrors.isEmpty( ) )
			return tmpErrors;
		tmpErrors.addAll( ThemeStyleNameValidator.getInstance( )
				.validateForAddingStyle( (ThemeHandle) getHandle( module ),
						content.getName( ) ) );
		return tmpErrors;
	}
}