changeset 63:d0467f3a67b3

remove debug prints
author Frank Benoit <benoit@tionex.de>
date Mon, 14 Apr 2008 03:08:08 +0200
parents 41c2c84fd73c
children 15ccb2be3f1a
files dwtx/jface/resource/FontRegistry.d
diffstat 1 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/dwtx/jface/resource/FontRegistry.d	Mon Apr 14 02:10:46 2008 +0200
+++ b/dwtx/jface/resource/FontRegistry.d	Mon Apr 14 03:08:08 2008 +0200
@@ -46,7 +46,6 @@
 import dwt.dwthelper.utils;
 import dwt.dwthelper.Runnable;
 version(Windows) import dwt.internal.win32.OS;
-import tango.util.log.Trace;
 
 /**
  * A font registry maintains a mapping between symbolic font names
@@ -352,19 +351,15 @@
         else version( Windows ){
             ImportData propdata;
             if( OS.IsWin95 && OS.WIN32_VERSION >= OS.VERSION (4, 10 )){
-                Trace.formatln( "JFaceResources {}, load win98", __LINE__ );
                 propdata = getImportData!( prefix ~ "windows98" ~ postfix );
             }
             else if( OS.WIN32_VERSION >= OS.VERSION (5, 1 )){
-                Trace.formatln( "JFaceResources {}, load winXP", __LINE__ );
                 propdata = getImportData!( prefix ~ "windowsxp" ~ postfix );
             }
             else if( OS.WIN32_VERSION >= OS.VERSION (5, 0)){
-                Trace.formatln( "JFaceResources {}, load win2k", __LINE__ );
                 propdata = getImportData!( prefix ~ "windows2000" ~ postfix );
             }
             else if( OS.WIN32_VERSION >= OS.VERSION (4, 0)){
-                Trace.formatln( "JFaceResources {}, load winNT", __LINE__ );
                 propdata = getImportData!( prefix ~ "windowsnt" ~ postfix );
             }
             else{
@@ -681,11 +676,9 @@
      * @return FontRecird
      */
     private FontRecord getFontRecord(String symbolicName) {
-        Trace.formatln( "FontRegistry {}: symbolicName={}",__LINE__,symbolicName);
         Assert.isNotNull(symbolicName);
         auto result1 = stringToFontRecord.find(symbolicName);
         if (result1 !is null) {
-            Trace.formatln( "FontRegistry {}: ",__LINE__, (cast(FontRecord) result1).baseFont.toString );
             return cast(FontRecord) result1;
         }
 
@@ -704,10 +697,6 @@
         }
 
         stringToFontRecord.add(symbolicName.dup, fontRecord);
-            Trace.formatln( "FontRegistry {}: {}",__LINE__,fontRecord.baseFont.toString);
-            foreach( fd; fontRecord.baseFont.getFontData() ){
-                Trace.formatln( "FontRegistry {}: fontdata={}",__LINE__,fd.toString);
-            }
         return fontRecord;
 
     }