Revision: 2990
http://skim-app.svn.sourceforge.net/skim-app/?rev=2990&view=rev
Author: hofman
Date: 2007-09-25 13:25:08 -0700 (Tue, 25 Sep 2007)
Log Message:
-----------
Remove outline before setting the PDFDocument.
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2007-09-25 17:45:50 UTC (rev 2989)
+++ trunk/SKMainWindowController.m 2007-09-25 20:25:08 UTC (rev 2990)
@@ -903,6 +903,10 @@
[snapshots makeObjectsPerformSelector:@selector(close)];
[[self mutableArrayValueForKey:@"snapshots"] removeAllObjects];
+ [pdfOutline release];
+ pdfOutline = nil;
+ [pdfOutlineItems removeAllObjects];
+
[lastViewedPages removeAllObjects];
[self unregisterForDocumentNotifications];
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