Revision: 15592
http://sourceforge.net/p/skim-app/code/15592
Author: hofman
Date: 2025-07-03 09:23:10 +0000 (Thu, 03 Jul 2025)
Log Message:
-----------
use array convenience method
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2025-07-03 09:20:21 UTC (rev 15591)
+++ trunk/SKPDFView.m 2025-07-03 09:23:10 UTC (rev 15592)
@@ -2429,8 +2429,7 @@
if ([string length] > 0)
[newAnnotation setString:string];
} else if ([currentAnnotation isInk]) {
- NSMutableArray *paths = [[currentAnnotation pagePaths] mutableCopy];
- [paths addObjectsFromArray:[annotation pagePaths]];
+ NSArray *paths = [[currentAnnotation pagePaths]
arrayByAddingObjectsFromArray:[annotation pagePaths]];
NSString *string1 = [currentAnnotation string];
NSString *string2 = [annotation string];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit