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/TextTransfer.d

    r197 r212  
    4242 
    4343    private static TextTransfer _instance; 
    44     private static const char[] CF_UNICODETEXT = "CF_UNICODETEXT"; //$NON-NLS-1$ 
    45     private static const char[] CF_TEXT = "CF_TEXT"; //$NON-NLS-1$ 
     44    private static const String CF_UNICODETEXT = "CF_UNICODETEXT"; //$NON-NLS-1$ 
     45    private static const String CF_TEXT = "CF_TEXT"; //$NON-NLS-1$ 
    4646    private static const int CF_UNICODETEXTID = COM.CF_UNICODETEXT; 
    4747    private static const int CF_TEXTID = COM.CF_TEXT; 
     
    8080    } 
    8181    transferData.result = COM.E_FAIL; 
    82     char[] string = (cast(ArrayWrapperString)object).array; 
     82    String string = (cast(ArrayWrapperString)object).array; 
    8383    switch (transferData.type) { 
    8484        case COM.CF_UNICODETEXT: { 
     
    189189} 
    190190 
    191 protected char[][] getTypeNames(){ 
     191protected String[] getTypeNames(){ 
    192192    return [CF_UNICODETEXT, CF_TEXT]; 
    193193}