Revision: 5781
http://skim-app.svn.sourceforge.net/skim-app/?rev=5781&view=rev
Author: hofman
Date: 2009-09-22 20:26:10 +0000 (Tue, 22 Sep 2009)
Log Message:
-----------
don't declare locals twice
Modified Paths:
--------------
trunk/PDFPage_SKExtensions.m
trunk/SKPDFSynchronizerServer.m
Modified: trunk/PDFPage_SKExtensions.m
===================================================================
--- trunk/PDFPage_SKExtensions.m 2009-09-22 17:39:17 UTC (rev 5780)
+++ trunk/PDFPage_SKExtensions.m 2009-09-22 20:26:10 UTC (rev 5781)
@@ -341,7 +341,7 @@
- (SKMainDocument *)containingDocument {
SKMainDocument *document = nil;
- for (SKMainDocument *document in [[NSDocumentController
sharedDocumentController] documents]) {
+ for (document in [[NSDocumentController sharedDocumentController]
documents]) {
if ([document respondsToSelector:@selector(pdfDocument)] && [[self
document] isEqual:[document pdfDocument]])
break;
}
Modified: trunk/SKPDFSynchronizerServer.m
===================================================================
--- trunk/SKPDFSynchronizerServer.m 2009-09-22 17:39:17 UTC (rev 5780)
+++ trunk/SKPDFSynchronizerServer.m 2009-09-22 20:26:10 UTC (rev 5781)
@@ -438,7 +438,7 @@
NSSortDescriptor *ySortDescriptor = [[[NSSortDescriptor alloc]
initWithKey:@"y" ascending:NO] autorelease];
NSArray *lineSortDescriptors = [NSArray
arrayWithObjects:lineSortDescriptor, nil];
- for (NSMutableArray *array in lines)
+ for (array in lines)
[array sortUsingDescriptors:lineSortDescriptors];
[pages
makeObjectsPerformSelector:@selector(sortUsingDescriptors:)
withObject:[NSArray
arrayWithObjects:ySortDescriptor, xSortDescriptor, nil]];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit