Show
Ignore:
Timestamp:
05/04/08 18:12:38 (8 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/dnd/RTFTransfer.d

    r197 r212  
    4242 
    4343    private static RTFTransfer _instance; 
    44     private static const char[] CF_RTF = "Rich Text Format"; //$NON-NLS-1$ 
     44    private static const String CF_RTF = "Rich Text Format"; //$NON-NLS-1$ 
    4545    private static const int CF_RTFID; 
    4646 
     
    8181    } 
    8282    // CF_RTF is stored as a null terminated byte array 
    83     char[] string = (cast(ArrayWrapperString)object).array; 
     83    String string = (cast(ArrayWrapperString)object).array; 
    8484    wchar* chars = StrToWCHARz(string); 
    8585    int codePage = OS.GetACP(); 
     
    143143} 
    144144 
    145 protected char[][] getTypeNames(){ 
     145protected String[] getTypeNames(){ 
    146146    return [CF_RTF]; 
    147147}