Changeset 193:d0bbd290530f

Show
Ignore:
Timestamp:
03/17/08 16:47:05 (6 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

Fix import conflict

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/layout/FillLayout.d

    r48 r193  
    2222import dwt.layout.FillData; 
    2323 
    24 import tango.text.Util; 
    2524import tango.util.Convert; 
    2625import dwt.dwthelper.utils; 
     
    183182char[] getName () { 
    184183    char[] string = this.classinfo.name; 
    185     int index = locatePrior( string, '.'); 
    186     if (index is string.length ) return string; 
     184    int index = string.lastIndexOf( '.'); 
     185    if (index is -1 ) return string; 
    187186    return string[ index + 1 .. string.length ]; 
    188187} 
     
    240239    if (marginHeight !is 0) string ~= "marginHeight="~to!(char[])(marginHeight)~" "; 
    241240    if (spacing !is 0) string ~= "spacing="~to!(char[])(spacing)~" "; 
    242     string = trim( string ); 
     241    string = string.trim(); 
    243242    string ~= "}"; 
    244243    return string;