Revision: 13885
http://sourceforge.net/p/skim-app/code/13885
Author: hofman
Date: 2023-12-11 16:50:26 +0000 (Mon, 11 Dec 2023)
Log Message:
-----------
don't use getObjects:range:
Modified Paths:
--------------
trunk/PDFAnnotationMarkup_SKExtensions.m
Modified: trunk/PDFAnnotationMarkup_SKExtensions.m
===================================================================
--- trunk/PDFAnnotationMarkup_SKExtensions.m 2023-12-11 15:53:33 UTC (rev
13884)
+++ trunk/PDFAnnotationMarkup_SKExtensions.m 2023-12-11 16:50:26 UTC (rev
13885)
@@ -169,14 +169,11 @@
range.location = 4 * j;
- NSValue *values[4];
- [quadPoints getObjects:values range:range];
-
NSPoint point;
NSUInteger i;
CGFloat minX = CGFLOAT_MAX, maxX = -CGFLOAT_MAX, minY =
CGFLOAT_MAX, maxY = -CGFLOAT_MAX;
for (i = 0; i < 4; i++) {
- point = [values[i] pointValue];
+ point = [[quadPoints objectAtIndex:4 * j + i] pointValue];
minX = fmin(minX, point.x);
maxX = fmax(maxX, point.x);
minY = fmin(minY, point.y);
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