Mercurial > projects > dwt2
diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/dnd/DND.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/dnd/DND.d Thu Mar 05 15:12:35 2009 +0100 +++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/dnd/DND.d Mon Mar 09 14:26:40 2009 +0100 @@ -17,7 +17,6 @@ import org.eclipse.swt.SWTError; import org.eclipse.swt.SWTException; -import tango.util.Convert; import java.lang.all; /** @@ -265,22 +264,22 @@ /* OS Failure/Limit (fatal, may occur only on some platforms) */ case DND.ERROR_CANNOT_INIT_DRAG:{ String msg = DND.INIT_DRAG_MESSAGE; - if (hresult !is 0) msg ~= " result = "~to!(String)(hresult); //$NON-NLS-1$ + if (hresult !is 0) msg ~= " result = "~String_valueOf(hresult); //$NON-NLS-1$ throw new SWTError (code, msg); } case DND.ERROR_CANNOT_INIT_DROP:{ String msg = DND.INIT_DROP_MESSAGE; - if (hresult !is 0) msg ~= " result = "~to!(String)(hresult); //$NON-NLS-1$ + if (hresult !is 0) msg ~= " result = "~String_valueOf(hresult); //$NON-NLS-1$ throw new SWTError (code, msg); } case DND.ERROR_CANNOT_SET_CLIPBOARD:{ String msg = DND.CANNOT_SET_CLIPBOARD_MESSAGE; - if (hresult !is 0) msg ~= " result = "~to!(String)(hresult); //$NON-NLS-1$ + if (hresult !is 0) msg ~= " result = "~String_valueOf(hresult); //$NON-NLS-1$ throw new SWTError (code, msg); } case DND.ERROR_INVALID_DATA:{ String msg = DND.INVALID_DATA_MESSAGE; - if (hresult !is 0) msg ~= " result = "~to!(String)(hresult); //$NON-NLS-1$ + if (hresult !is 0) msg ~= " result = "~String_valueOf(hresult); //$NON-NLS-1$ throw new SWTException (code, msg); } default: