Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsEmbedString.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 | 2e09b0e6857a |
comparison
equal
deleted
inserted
replaced
8:2847134a5fc0 | 9:950d84783eac |
---|---|
1 module org.eclipse.swt.internal.mozilla.nsEmbedString; | 1 module org.eclipse.swt.internal.mozilla.nsEmbedString; |
2 | 2 |
3 import Utf = tango.text.convert.Utf; | 3 import java.lang.all; |
4 | 4 |
5 import org.eclipse.swt.internal.mozilla.Common; | 5 import org.eclipse.swt.internal.mozilla.Common; |
6 import org.eclipse.swt.internal.mozilla.nsStringAPI; | 6 import org.eclipse.swt.internal.mozilla.nsStringAPI; |
7 import XPCOM = org.eclipse.swt.internal.mozilla.XPCOM; | 7 import XPCOM = org.eclipse.swt.internal.mozilla.XPCOM; |
8 | 8 |
37 return buffer[0 .. len].dup; | 37 return buffer[0 .. len].dup; |
38 } | 38 } |
39 | 39 |
40 char[] toString() | 40 char[] toString() |
41 { | 41 { |
42 return Utf.toString(this.toString16()); | 42 return String_valueOf(this.toString16()); |
43 } | 43 } |
44 ~this() | 44 ~this() |
45 { | 45 { |
46 NS_StringContainerFinish(&str); | 46 NS_StringContainerFinish(&str); |
47 } | 47 } |