Changeset 238:380bad9f6852 for dwt/dnd/RTFTransfer.d
- Timestamp:
- 05/04/08 18:42:55 (7 months ago)
- Files:
-
- dwt/dnd/RTFTransfer.d (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/dnd/RTFTransfer.d
r152 r238 38 38 39 39 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$ 41 41 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$ 43 43 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$ 45 45 private static const int APPLICATION_RTF_ID; 46 46 … … 77 77 DND.error(DND.ERROR_INVALID_DATA); 78 78 } 79 char[]string = (cast(ArrayWrapperString)object).array;79 String string = (cast(ArrayWrapperString)object).array; 80 80 char* pValue = cast(char*)OS.g_malloc(string.length + 1); 81 81 if (pValue is null) return; … … 111 111 } 112 112 113 protected override char[][] getTypeNames() {113 protected override String[] getTypeNames() { 114 114 return [TEXT_RTF, TEXT_RTF2, APPLICATION_RTF]; 115 115 }
