Mercurial > projects > dwt-mac
comparison dwt/custom/StyledText.d @ 6:b903c16b6f48
Removed throws decls
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 27 Aug 2008 14:10:03 +0200 |
parents | 1a8b3cb347e0 |
children | e831403a80a9 |
comparison
equal
deleted
inserted
replaced
5:1a8b3cb347e0 | 6:b903c16b6f48 |
---|---|
6853 * @param length length of text to place in clipboard | 6853 * @param length length of text to place in clipboard |
6854 * | 6854 * |
6855 * @exception DWTError, see Clipboard.setContents | 6855 * @exception DWTError, see Clipboard.setContents |
6856 * @see dwt.dnd.Clipboard#setContents | 6856 * @see dwt.dnd.Clipboard#setContents |
6857 */ | 6857 */ |
6858 void setClipboardContent(int start, int length, int clipboardType) throws DWTError { | 6858 void setClipboardContent(int start, int length, int clipboardType) { |
6859 if (clipboardType is DND.SELECTION_CLIPBOARD && !(IS_MOTIF || IS_GTK)) return; | 6859 if (clipboardType is DND.SELECTION_CLIPBOARD && !(IS_MOTIF || IS_GTK)) return; |
6860 TextTransfer plainTextTransfer = TextTransfer.getInstance(); | 6860 TextTransfer plainTextTransfer = TextTransfer.getInstance(); |
6861 TextWriter plainTextWriter = new TextWriter(start, length); | 6861 TextWriter plainTextWriter = new TextWriter(start, length); |
6862 String plainText = getPlatformDelimitedText(plainTextWriter); | 6862 String plainText = getPlatformDelimitedText(plainTextWriter); |
6863 Object[] data; | 6863 Object[] data; |