Revision: 3622
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3622&view=rev
Author:   hofman
Date:     2008-04-04 12:18:48 -0700 (Fri, 04 Apr 2008)

Log Message:
-----------
Remove some obsolete code and ivar.

Modified Paths:
--------------
    trunk/SKPDFView.h
    trunk/SKPDFView.m

Modified: trunk/SKPDFView.h
===================================================================
--- trunk/SKPDFView.h   2008-04-04 18:35:30 UTC (rev 3621)
+++ trunk/SKPDFView.h   2008-04-04 19:18:48 UTC (rev 3622)
@@ -104,7 +104,6 @@
        NSPoint clickDelta;
     NSRect selectionRect;
     float magnification;
-       BOOL draggingAnnotation;
     BOOL didDrag;
     BOOL mouseDownInAnnotation;
     BOOL extendSelection;

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2008-04-04 18:35:30 UTC (rev 3621)
+++ trunk/SKPDFView.m   2008-04-04 19:18:48 UTC (rev 3622)
@@ -215,7 +215,6 @@
     clickDelta = NSZeroPoint;
     selectionRect = NSZeroRect;
     magnification = 0.0;
-    draggingAnnotation = NO;
     didDrag = NO;
     mouseDownInAnnotation = NO;
     extendSelection = NO;
@@ -2807,8 +2806,6 @@
             wasEndPoint = [(SKPDFAnnotationLine *)activeAnnotation endPoint];
         }
         
-        draggingAnnotation = [activeAnnotation isMovable];
-        
         // Hit-test for resize box.
         dragMask = 0;
         if ([[activeAnnotation type] isEqualToString:SKLineString]) {
@@ -2867,12 +2864,9 @@
                 [activeAnnotation setString:selString];
             }
             [self setNeedsDisplayForAnnotation:activeAnnotation];
-            [wasSelection release];
-            wasSelection = nil;
             mouseDownInAnnotation = NO;
             dragMask = 0;
             didDrag = NO;
-            draggingAnnotation = NO;
         }
     }
     


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to