Revision: 4874
http://skim-app.svn.sourceforge.net/skim-app/?rev=4874&view=rev
Author: hofman
Date: 2008-10-27 10:25:11 +0000 (Mon, 27 Oct 2008)
Log Message:
-----------
remove replaces local variable
Modified Paths:
--------------
trunk/PDFSelection_SKExtensions.m
Modified: trunk/PDFSelection_SKExtensions.m
===================================================================
--- trunk/PDFSelection_SKExtensions.m 2008-10-26 16:20:49 UTC (rev 4873)
+++ trunk/PDFSelection_SKExtensions.m 2008-10-27 10:25:11 UTC (rev 4874)
@@ -173,7 +173,6 @@
NSTextStorage *containerText = [dict objectForKey:@"text"];
CFArrayRef textRanges = (CFArrayRef)[dict objectForKey:@"ranges"];
unsigned int ri, numRanges = CFArrayGetCount(textRanges);
- NSMutableArray *rangeValues = [[NSMutableArray alloc] init];
CFMutableArrayRef ranges =
CFArrayCreateMutable(kCFAllocatorDefault, 0, &kSKNSRangeArrayCallBacks);
for (ri = 0; ri < numRanges; ri++) {
@@ -295,7 +294,7 @@
[textStorage release];
}
- if ([rangeValues count]) {
+ if (CFArrayGetCount(ranges)) {
[dict setObject:(id)ranges forKey:@"ranges"];
[rangeDicts addObject:dict];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit