Revision: 9526
http://sourceforge.net/p/skim-app/code/9526
Author: hofman
Date: 2017-12-05 21:27:56 +0000 (Tue, 05 Dec 2017)
Log Message:
-----------
make variable local to block
Modified Paths:
--------------
trunk/SKMainDocument.m
Modified: trunk/SKMainDocument.m
===================================================================
--- trunk/SKMainDocument.m 2017-12-05 17:06:08 UTC (rev 9525)
+++ trunk/SKMainDocument.m 2017-12-05 21:27:56 UTC (rev 9526)
@@ -1079,7 +1079,6 @@
PDFDocument *pdfDoc = [self pdfDocument];
NSInteger i, count = [pdfDoc pageCount];
NSMapTable *offsets = nil;
- SKPDFView *pdfView = [self pdfView];
NSMutableArray *annotations = nil;
for (i = 0; i < count; i++) {
@@ -1130,6 +1129,7 @@
dispatch_async(dispatch_get_main_queue(), ^{
+ SKPDFView *pdfView = [self pdfView];
for (PDFAnnotation *annotation in annotations) {
NSDictionary *properties = [annotation SkimNoteProperties];
if ([[annotation type] isEqualToString:SKNTextString])
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit