2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / System.Drawing / System.Drawing.Drawing2D / GraphicsPathIterator.cs
index 1743dba2ad574ae71faf26bf64c865ae2788aef9..dbd2f4341dc4fe54ee265bc78659fe7a5572a077 100644 (file)
@@ -102,7 +102,7 @@ namespace System.Drawing.Drawing2D
                        if (points.Length != types.Length)
                                throw new ArgumentException ("Invalid arguments passed. Both arrays should have the same length.");
 
-                       status = GDIPlus.GdipPathIterCopyData (nativeObject, out resultCount, ref points, ref types, startIndex, endIndex);
+                       status = GDIPlus.GdipPathIterCopyData (nativeObject, out resultCount, points, types, startIndex, endIndex);
                        GDIPlus.CheckStatus (status);
 
                        return resultCount;
@@ -128,7 +128,7 @@ namespace System.Drawing.Drawing2D
                        if (count != types.Length)
                                throw new ArgumentException ("Invalid arguments passed. Both arrays should have the same length.");
 
-                       status = GDIPlus.GdipPathIterEnumerate (nativeObject, out resultCount, ref points, ref types, count);
+                       status = GDIPlus.GdipPathIterEnumerate (nativeObject, out resultCount, points, types, count);
                        GDIPlus.CheckStatus (status);
 
                        return resultCount;