Revision: 7831
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7831&view=rev
Author:   amaxwell
Date:     2012-12-10 18:24:04 +0000 (Mon, 10 Dec 2012)
Log Message:
-----------
Xcode 4 type warning

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

Modified: trunk/PDFDisplayView_SKExtensions.m
===================================================================
--- trunk/PDFDisplayView_SKExtensions.m 2012-12-10 18:23:21 UTC (rev 7830)
+++ trunk/PDFDisplayView_SKExtensions.m 2012-12-10 18:24:04 UTC (rev 7831)
@@ -162,7 +162,7 @@
 }
 
 static id replacement_accessibilityRTFForRangeAttributeForParameter(id self, 
SEL _cmd, id parameter) {
-    id pdfView = SKGetPDFView(self);
+    PDFView *pdfView = SKGetPDFView(self);
     if (pdfView) {
         NSAttributedString *attributedString = 
attributedStringForAccessibilityRange(self, [parameter rangeValue], [pdfView 
scaleFactor]);
         return [attributedString RTFFromRange:NSMakeRange(0, [attributedString 
length]) documentAttributes:NULL];
@@ -171,7 +171,7 @@
 }
 
 static id 
replacement_accessibilityAttributedStringForRangeAttributeForParameter(id self, 
SEL _cmd, id parameter) {
-    id pdfView = SKGetPDFView(self);
+    PDFView *pdfView = SKGetPDFView(self);
     if (pdfView) {
         return [attributedStringForAccessibilityRange(self, [parameter 
rangeValue], [pdfView scaleFactor]) accessibilityAttributedString];
     }
@@ -179,7 +179,7 @@
 }
 
 static id replacement_accessibilityStyleRangeForIndexAttributeForParameter(id 
self, SEL _cmd, id parameter) {
-    id pdfView = SKGetPDFView(self);
+    PDFView *pdfView = SKGetPDFView(self);
     if (pdfView) {
         // make sure the accessibility table is generated
         [self 
accessibilityAttributeValue:NSAccessibilityVisibleCharacterRangeAttribute];

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


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to