Revision: 7809
http://skim-app.svn.sourceforge.net/skim-app/?rev=7809&view=rev
Author: hofman
Date: 2012-11-30 16:26:30 +0000 (Fri, 30 Nov 2012)
Log Message:
-----------
Remove unused variable and initialization
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2012-11-30 10:58:19 UTC (rev 7808)
+++ trunk/SKPDFView.m 2012-11-30 16:26:30 UTC (rev 7809)
@@ -3393,25 +3393,17 @@
}
- (void)doEraseAnnotationsWithEvent:(NSEvent *)theEvent {
- NSPoint mouseDownLoc = [theEvent locationInView:self];
- PDFPage *page = [self pageForPoint:mouseDownLoc nearest:YES];
-
- NSArray *annotations;
- NSInteger i;
- NSPoint pagePoint;
-
while (YES) {
theEvent = [[self window] nextEventMatchingMask: NSLeftMouseUpMask |
NSLeftMouseDraggedMask];
if ([theEvent type] == NSLeftMouseUp)
break;
NSPoint mouseDownOnPage = [theEvent locationInView:self];
- page = [self pageForPoint:mouseDownOnPage nearest:YES];
- pagePoint = [self convertPoint:mouseDownOnPage toPage:page];
+ PDFPage *page = [self pageForPoint:mouseDownOnPage nearest:YES];
+ NSPoint pagePoint = [self convertPoint:mouseDownOnPage toPage:page];
+ NSArray *annotations = [page annotations];
+ NSInteger i = [annotations count];
- annotations = [page annotations];
- i = [annotations count];
-
while (i-- > 0) {
PDFAnnotation *annotation = [annotations objectAtIndex:i];
if ([annotation isSkimNote] && [annotation hitTest:pagePoint] &&
(editField == nil || annotation != activeAnnotation)) {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
TUNE You got it built. Now make it sing. Tune shows you how.
http://goparallel.sourceforge.net
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit