Revision: 3207
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3207&view=rev
Author:   hofman
Date:     2007-11-16 02:58:49 -0800 (Fri, 16 Nov 2007)

Log Message:
-----------
Don't remove pdf document after reverting. We cache it for removing notes.

Modified Paths:
--------------
    trunk/SKDocument.m

Modified: trunk/SKDocument.m
===================================================================
--- trunk/SKDocument.m  2007-11-16 10:56:49 UTC (rev 3206)
+++ trunk/SKDocument.m  2007-11-16 10:58:49 UTC (rev 3207)
@@ -480,8 +480,6 @@
     
     if (success) {
         [[self mainWindowController] setPdfDocument:pdfDocument];
-        [pdfDocument autorelease];
-        pdfDocument = nil;
         if (noteDicts) {
             [[self mainWindowController] 
setAnnotationsFromDictionaries:noteDicts undoable:NO];
             [self setNoteDicts:nil];


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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to