Bug 35192 Dialog.applyDialogFont should protect itself against null arguments
RC2 Now that many plugins use this method to apply the dialog font to widgets the method should protect itself against null arguments. Normally clients create their widget tree in a method createControl and there are changes that the returned control might be null. Adding a statement Dialog.applyDialogFont (result) with result == null will result in new NPEs.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/Dialog.java
dialogArea = createDialogArea(composite);
		buttonBar = createButtonBar(composite);
		return composite;
	}
	/**
	 * Creates and returns the contents of the upper part 
	 * of this dialog (above the button bar).
	 * <p>
	 * The <code>Dialog</code> implementation of this framework method
	 * creates and returns a new <code>Composite</code> with
	 * standard margins and spacing. 
	 * </p>
	 * <p>
	 * The returned control's layout data must be an instance of 
	 * <code>GridData</code>.
	 * </p>
	 * <p>
	 * Subclasses must override this method but may call <code>super</code>
	 * as in the following example:
	 * </p>	
	 * <pre>
	 * 	Composite composite = (Composite)super.createDialogArea(parent);
	 * 	//add controls to composite as necessary
	 * 	return composite;
	 * </pre>
	 *
	 * @param parent the parent composite to contain the dialog area
	 * @return the dialog area control
	 */