Adium

Changeset 24351

Show
Ignore:
Timestamp:
07/15/2008 01:07:09 AM (6 months ago)
Author:
catfish_man
Message:

More dead code removal

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Plugins/Link Management/SHLinkManagementPlugin.m

    r22905 r24351  
    111111        if (earliestTextView) { 
    112112                NSRange selectedRange = [earliestTextView selectedRange]; 
    113                 id              selectedLink = nil; 
    114113                 
    115114                if ([[earliestTextView textStorage] length] && 
     
    117116                        selectedRange.location != [[earliestTextView textStorage] length]) { 
    118117                         
    119                         selectedLink = [[earliestTextView textStorage] attribute:NSLinkAttributeName 
    120                                                                                                                         atIndex:selectedRange.location 
    121                                                                                                          effectiveRange:&selectedRange]; 
     118                        [[earliestTextView textStorage] attribute:NSLinkAttributeName 
     119                                                                                        atIndex:selectedRange.location 
     120                                                                          effectiveRange:&selectedRange]; 
    122121                        [[earliestTextView textStorage] removeAttribute:NSLinkAttributeName range:selectedRange];                        
    123122                }