String linethrough = style.getTextLineThrough(); String overline = style.getTextOverline();
String linethrough = null; String overline = null; if( style != null ) { linethrough = style.getTextLineThrough( ); overline = style.getTextOverline( ); }
	public static void checkHyperlinkTextDecoration( IStyle style, StringBuffer content )	{		String linethrough = style.getTextLineThrough();		String overline = style.getTextOverline();		content.append( " text-decoration:" ); //$NON-NLS-1$		if( overline != null && "none".equalsIgnoreCase( overline)) //$NON-NLS-1$		{			addPropValue( content, overline );		}				if ( linethrough != null && !"none".equalsIgnoreCase( linethrough ) ) //$NON-NLS-1$		{			addPropValue( content, linethrough );		}				content.append( " underline;" );	}