diff dwt/graphics/FontData.d @ 361:4bffbf81e2d6

redirect direct prints to DwtLogger
author Frank Benoit <benoit@tionex.de>
date Fri, 20 Mar 2009 21:00:06 +0100
parents c0d810de7093
children
line wrap: on
line diff
--- a/dwt/graphics/FontData.d	Fri Mar 20 20:30:32 2009 +0100
+++ b/dwt/graphics/FontData.d	Fri Mar 20 21:00:06 2009 +0100
@@ -19,7 +19,6 @@
 import tango.text.Util : locate;
 import tango.util.Convert;
 import dwt.dwthelper.utils;
-import tango.util.log.Trace;
 
 /**
  * Instances of this class describe operating system fonts.
@@ -277,7 +276,7 @@
             result = result[0 .. $ - 1];
         }
     }
-Trace.formatln( "getLocal {}", result );
+getDwtLogger().trace( "getLocal {}", result );
     return result;
 }
 
@@ -364,7 +363,7 @@
  * @see java.util.Locale#toString
  */
 public void setLocale(String locale) {
-Trace.formatln( "setLocal {}", locale );
+getDwtLogger().trace( "setLocal {}", locale );
     lang = country = variant = null;
     if (locale !is null) {
         char sep = '_';