Mercurial > projects > dwt2
diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/graphics/TextStyle.d @ 9:950d84783eac
Removing direct tango deps.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 09 Mar 2009 14:26:40 +0100 |
parents | 6dd524f61e62 |
children | d46287db17ed |
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/graphics/TextStyle.d Thu Mar 05 15:12:35 2009 +0100 +++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/graphics/TextStyle.d Mon Mar 09 14:26:40 2009 +0100 @@ -17,7 +17,6 @@ import org.eclipse.swt.graphics.Color; import org.eclipse.swt.graphics.GlyphMetrics; -import tango.util.Convert; import java.lang.all; /** @@ -330,7 +329,7 @@ if (rise !is 0) { if (buffer.length > startLength) buffer ~= ", "; buffer ~= "rise="; - buffer ~= to!(String)(rise); + buffer ~= String_valueOf(rise); } if (metrics !is null) { if (buffer.length > startLength) buffer ~= ", ";