diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/layout/RowData.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
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/layout/RowData.d	Thu Mar 05 15:12:35 2009 +0100
+++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/layout/RowData.d	Mon Mar 09 14:26:40 2009 +0100
@@ -16,7 +16,6 @@
 import org.eclipse.swt.graphics.Point;
 import org.eclipse.swt.widgets.Control;
 
-import tango.util.Convert;
 import java.lang.all;
 
 /**
@@ -121,9 +120,9 @@
  */
 override public String toString () {
     String string = getName ()~" {";
-    if (width !is SWT.DEFAULT) string ~= "width="~to!(String)(width)~" ";
-    if (height !is SWT.DEFAULT) string ~= "height="~to!(String)(height)~" ";
-    if (exclude) string ~= "exclude="~to!(String)(exclude)~" ";
+    if (width !is SWT.DEFAULT) string ~= "width="~String_valueOf(width)~" ";
+    if (height !is SWT.DEFAULT) string ~= "height="~String_valueOf(height)~" ";
+    if (exclude) string ~= "exclude="~String_valueOf(exclude)~" ";
     string = string.trim();
     string ~= "}";
     return string;