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

reverted char[] to String

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/dnd/RTFTransfer.d

    r152 r238  
    3838 
    3939    private static RTFTransfer _instance; 
    40     private static const char[] TEXT_RTF = "text/rtf"; //$NON-NLS-1$ 
     40    private static const String TEXT_RTF = "text/rtf"; //$NON-NLS-1$ 
    4141    private static const int TEXT_RTF_ID; 
    42     private static const char[] TEXT_RTF2 = "TEXT/RTF"; //$NON-NLS-1$ 
     42    private static const String TEXT_RTF2 = "TEXT/RTF"; //$NON-NLS-1$ 
    4343    private static const int TEXT_RTF2_ID; 
    44     private static const char[] APPLICATION_RTF = "application/rtf"; //$NON-NLS-1$ 
     44    private static const String APPLICATION_RTF = "application/rtf"; //$NON-NLS-1$ 
    4545    private static const int APPLICATION_RTF_ID; 
    4646 
     
    7777        DND.error(DND.ERROR_INVALID_DATA); 
    7878    } 
    79     char[] string = (cast(ArrayWrapperString)object).array; 
     79    String string = (cast(ArrayWrapperString)object).array; 
    8080    char* pValue = cast(char*)OS.g_malloc(string.length + 1); 
    8181    if (pValue is null) return; 
     
    111111} 
    112112 
    113 protected override char[][] getTypeNames() { 
     113protected override String[] getTypeNames() { 
    114114    return [TEXT_RTF, TEXT_RTF2, APPLICATION_RTF]; 
    115115}