diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/Spinner.d @ 9:950d84783eac

Removing direct tango deps.
author Frank Benoit <benoit@tionex.de>
date Mon, 09 Mar 2009 14:26:40 +0100
parents 4c0057e71936
children 2e09b0e6857a
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/Spinner.d	Thu Mar 05 15:12:35 2009 +0100
+++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/Spinner.d	Mon Mar 09 14:26:40 2009 +0100
@@ -27,10 +27,7 @@
 import org.eclipse.swt.widgets.Event;
 import org.eclipse.swt.widgets.Shell;
 
-
 import java.lang.all;
-import tango.text.convert.Integer : toString;
-import tango.util.Convert;
 
 /**
  * Instances of this class are selectable user interface
@@ -331,7 +328,7 @@
         RECT rect;
         int max;
         OS.SendMessage (hwndUpDown , OS.UDM_GETRANGE32, null, &max);
-        String string = .toString( max );
+        String string = String_valueOf( max );
         if (digits > 0) {
             StringBuffer buffer = new StringBuffer ();
             buffer.append (string);
@@ -1030,9 +1027,9 @@
     if (setText) {
         String string;
         if (digits is 0) {
-            string = .toString (value);
+            string = String_valueOf (value);
         } else {
-            string = to!(String)(Math.abs (value));
+            string = String_valueOf(Math.abs (value));
             String decimalSeparator = getDecimalSeparator ();
             int index = string.length - digits;
             StringBuffer buffer = new StringBuffer ();