Revision: 5692
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5692&view=rev
Author:   hofman
Date:     2009-09-06 10:20:08 +0000 (Sun, 06 Sep 2009)

Log Message:
-----------
remove override for Tiger bug fix

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

Modified: trunk/SKDocumentController.m
===================================================================
--- trunk/SKDocumentController.m        2009-09-06 00:24:12 UTC (rev 5691)
+++ trunk/SKDocumentController.m        2009-09-06 10:20:08 UTC (rev 5692)
@@ -137,26 +137,6 @@
     [super dealloc];
 }
 
-- (NSString *)typeFromFileExtension:(NSString *)fileExtensionOrHFSFileType {
-       NSString *type = [super 
typeFromFileExtension:fileExtensionOrHFSFileType];
-    if (SKIsEmbeddedPDFDocumentType(type) || SKIsBarePDFDocumentType(type)) {
-        // fix of bug when reading a PDF file on 10.4
-        // this is interpreted as SKEmbeddedPDFDocumentType, even though we 
don't declare that as a readable type
-        type = SKPDFDocumentType;
-    }
-    else if (SKIsBarePostScriptDocumentType(type)) {
-        // fix of bug when reading a PostScript file on 10.4
-        // this is interpreted as SKBarePostScriptDocumentType, even though we 
don't declare that as a readable type
-        type = SKPostScriptDocumentType;
-    }
-    else if (SKIsBareDVIDocumentType(type)) {
-        // fix of bug when reading a DVI file on 10.4
-        // this is interpreted as SKBareDVIDocumentType, even though we don't 
declare that as a readable type
-        type = SKDVIDocumentType;
-    }
-       return type;
-}
-
 - (void)addDocument:(NSDocument *)document {
     [super addDocument:document];
     [[NSNotificationCenter defaultCenter] 
postNotificationName:SKDocumentControllerDidAddDocumentNotification 


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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to