Show
Ignore:
Timestamp:
05/04/08 18:12:38 (7 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

reverted the char[] to String and use the an alias.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/custom/StackLayout.d

    r155 r212  
    130130} 
    131131 
    132 char[] getName () { 
    133     char[] string = this.classinfo.name; 
     132String getName () { 
     133    String string = this.classinfo.name; 
    134134    int index = tango.text.Util.locatePrior( string ,'.'); 
    135135    if (index is string.length ) return string; 
     
    143143 * @return a string representation of the layout 
    144144 */ 
    145 public override char[] toString () { 
    146     char[] string = getName ()~" {"; 
    147     if (marginWidth !is 0) string ~= "marginWidth="~to!(char[])(marginWidth)~" "; 
    148     if (marginHeight !is 0) string ~= "marginHeight="~to!(char[])(marginHeight)~" "; 
    149     if (topControl !is null) string ~= "topControl="~to!(char[])(topControl)~" "; 
     145public override String toString () { 
     146    String string = getName ()~" {"; 
     147    if (marginWidth !is 0) string ~= "marginWidth="~to!(String)(marginWidth)~" "; 
     148    if (marginHeight !is 0) string ~= "marginHeight="~to!(String)(marginHeight)~" "; 
     149    if (topControl !is null) string ~= "topControl="~to!(String)(topControl)~" "; 
    150150    string = tango.text.Util.trim(string); 
    151151    string ~= "}";