Commit 50032f4e authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

gdiplus: Remove useless casts to self.

parent 53cd694e
......@@ -3103,7 +3103,7 @@ GpStatus WINGDIPAPI GdipPlayMetafileRecord(GDIPCONST GpMetafile *metafile,
if (flags & 0x8000)
{
stat = GdipCreateSolidFill(fill->data.Color, (GpSolidFill **)&solidfill);
stat = GdipCreateSolidFill(fill->data.Color, &solidfill);
if (stat != Ok)
return stat;
brush = (GpBrush *)solidfill;
......@@ -3151,7 +3151,7 @@ GpStatus WINGDIPAPI GdipPlayMetafileRecord(GDIPCONST GpMetafile *metafile,
if (flags & 0x8000) /* S */
{
stat = GdipCreateSolidFill(fill->BrushId, (GpSolidFill **)&solidfill);
stat = GdipCreateSolidFill(fill->BrushId, &solidfill);
if (stat != Ok)
return stat;
brush = (GpBrush *)solidfill;
......@@ -3216,7 +3216,7 @@ GpStatus WINGDIPAPI GdipPlayMetafileRecord(GDIPCONST GpMetafile *metafile,
if (flags & 0x8000)
{
stat = GdipCreateSolidFill(fill->BrushId, (GpSolidFill **)&solidfill);
stat = GdipCreateSolidFill(fill->BrushId, &solidfill);
if (stat != Ok)
return stat;
brush = (GpBrush *)solidfill;
......@@ -3255,7 +3255,7 @@ GpStatus WINGDIPAPI GdipPlayMetafileRecord(GDIPCONST GpMetafile *metafile,
if (flags & 0x8000) /* S */
{
stat = GdipCreateSolidFill(fill->BrushId, (GpSolidFill **)&solidfill);
stat = GdipCreateSolidFill(fill->BrushId, &solidfill);
if (stat != Ok)
return stat;
brush = (GpBrush *)solidfill;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment