Mercurial > projects > dwt2
diff org.eclipse.jface/src/org/eclipse/jface/resource/FileImageDescriptor.d @ 20:dccb717aa902
Remove more tango imports
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 18 Mar 2009 12:10:17 +0100 |
parents | 6f068362a363 |
children |
line wrap: on
line diff
--- a/org.eclipse.jface/src/org/eclipse/jface/resource/FileImageDescriptor.d Wed Mar 18 10:55:25 2009 +0100 +++ b/org.eclipse.jface/src/org/eclipse/jface/resource/FileImageDescriptor.d Wed Mar 18 12:10:17 2009 +0100 @@ -34,8 +34,6 @@ import java.io.BufferedInputStream; import java.io.ByteArrayInputStream; -import tango.util.log.Trace; - /** * An image descriptor that loads its image information from a file. */ @@ -107,7 +105,7 @@ result = new ImageData(in_); } catch (SWTException e) { if (e.code !is SWT.ERROR_INVALID_IMAGE /+&& e.code !is SWT.ERROR_UNSUPPORTED_FORMAT+/) { - Trace.formatln( "FileImageDescriptor getImageData SWTException for name={}", name ); + getDwtLogger().trace( __FILE__, __LINE__, "FileImageDescriptor getImageData SWTException for name={}", name ); throw e; // fall through otherwise } @@ -129,7 +127,6 @@ InputStream is_ = null; // if (location !is null) { -// Trace.formatln( "FileImageDescriptor getStream importdata.length={} name={}",importdata.length, name ); is_ = new ByteArrayInputStream(cast(byte[]) importdata); // is_ = ClassInfoGetResourceAsStream( location, name);