# HG changeset patch # User Frank Benoit # Date 1204479610 -3600 # Node ID 9b6243da08a54a38e66141ea69dc51bd2be835bb # Parent 721afe91f44800d3f3a175af0c7ed02d258e96e5 remove old debug code diff -r 721afe91f448 -r 9b6243da08a5 dwt/graphics/TextLayout.d --- a/dwt/graphics/TextLayout.d Sun Mar 02 18:39:35 2008 +0100 +++ b/dwt/graphics/TextLayout.d Sun Mar 02 18:40:10 2008 +0100 @@ -1592,10 +1592,6 @@ * */ public void setStyle (TextStyle style, int start, int end) { - char[] styleTxt = ""; - if( style !is null ){ - styleTxt = style.toString; - } checkLayout(); int length = text.length; if (length is 0) return;