Revision: 5131
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5131&view=rev
Author:   hofman
Date:     2009-01-20 10:13:29 +0000 (Tue, 20 Jan 2009)

Log Message:
-----------
Don't check for 'RTF ' descriptor type for conversion to rich text. E.g. when 
reading as data from an RTF file he type will be 'rdat', because reading as 
'RTF ' is not supported.

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

Modified: trunk/SKTextCommand.m
===================================================================
--- trunk/SKTextCommand.m       2009-01-19 16:01:51 UTC (rev 5130)
+++ trunk/SKTextCommand.m       2009-01-20 10:13:29 UTC (rev 5131)
@@ -67,8 +67,7 @@
         if (page == nil || [page isEqual:[dPO page]])
             attributedString = [dPO textContents];
     } else if ([dP isKindOfClass:[NSAppleEventDescriptor class]]) {
-        if ([dP descriptorType] == 'RTF ')
-            data = [dP data];
+        data = [dP data];
     } else {
         attributedString = [[PDFSelection selectionWithSpecifier:dP 
onPage:page] attributedString];
     }


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:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to