Revision: 6542
http://skim-app.svn.sourceforge.net/skim-app/?rev=6542&view=rev
Author: hofman
Date: 2010-05-18 17:00:17 +0000 (Tue, 18 May 2010)
Log Message:
-----------
no need to initialize unused local variables
Modified Paths:
--------------
trunk/SKBookmarkController.m
Modified: trunk/SKBookmarkController.m
===================================================================
--- trunk/SKBookmarkController.m 2010-05-17 17:29:38 UTC (rev 6541)
+++ trunk/SKBookmarkController.m 2010-05-18 17:00:17 UTC (rev 6542)
@@ -645,11 +645,10 @@
}
- (NSDragOperation)outlineView:(NSOutlineView *)ov validateDrop:(id
<NSDraggingInfo>)info proposedItem:(id)item
proposedChildIndex:(NSInteger)anIndex {
- NSPasteboard *pboard = [info draggingPasteboard];
- NSString *type = [pboard availableTypeFromArray:[NSArray
arrayWithObjects:SKBookmarkRowsPboardType, NSFilenamesPboardType, nil]];
NSDragOperation dragOp = NSDragOperationNone;
-
if (anIndex != NSOutlineViewDropOnItemIndex) {
+ NSPasteboard *pboard = [info draggingPasteboard];
+ NSString *type = [pboard availableTypeFromArray:[NSArray
arrayWithObjects:SKBookmarkRowsPboardType, NSFilenamesPboardType, nil]];
if ([type isEqualToString:NSFilenamesPboardType])
dragOp = NSDragOperationEvery;
else if ([type isEqualToString:SKBookmarkRowsPboardType] && [item
isDescendantOfArray:[self draggedBookmarks]] == NO)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit