gdiplus: Remove useless casts to self.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2019-02-28 00:50:28 +01:00 committed by Alexandre Julliard
parent 53cd694e6a
commit 50032f4e14
1 changed files with 4 additions and 4 deletions

View File

@ -3103,7 +3103,7 @@ GpStatus WINGDIPAPI GdipPlayMetafileRecord(GDIPCONST GpMetafile *metafile,
if (flags & 0x8000) if (flags & 0x8000)
{ {
stat = GdipCreateSolidFill(fill->data.Color, (GpSolidFill **)&solidfill); stat = GdipCreateSolidFill(fill->data.Color, &solidfill);
if (stat != Ok) if (stat != Ok)
return stat; return stat;
brush = (GpBrush *)solidfill; brush = (GpBrush *)solidfill;
@ -3151,7 +3151,7 @@ GpStatus WINGDIPAPI GdipPlayMetafileRecord(GDIPCONST GpMetafile *metafile,
if (flags & 0x8000) /* S */ if (flags & 0x8000) /* S */
{ {
stat = GdipCreateSolidFill(fill->BrushId, (GpSolidFill **)&solidfill); stat = GdipCreateSolidFill(fill->BrushId, &solidfill);
if (stat != Ok) if (stat != Ok)
return stat; return stat;
brush = (GpBrush *)solidfill; brush = (GpBrush *)solidfill;
@ -3216,7 +3216,7 @@ GpStatus WINGDIPAPI GdipPlayMetafileRecord(GDIPCONST GpMetafile *metafile,
if (flags & 0x8000) if (flags & 0x8000)
{ {
stat = GdipCreateSolidFill(fill->BrushId, (GpSolidFill **)&solidfill); stat = GdipCreateSolidFill(fill->BrushId, &solidfill);
if (stat != Ok) if (stat != Ok)
return stat; return stat;
brush = (GpBrush *)solidfill; brush = (GpBrush *)solidfill;
@ -3255,7 +3255,7 @@ GpStatus WINGDIPAPI GdipPlayMetafileRecord(GDIPCONST GpMetafile *metafile,
if (flags & 0x8000) /* S */ if (flags & 0x8000) /* S */
{ {
stat = GdipCreateSolidFill(fill->BrushId, (GpSolidFill **)&solidfill); stat = GdipCreateSolidFill(fill->BrushId, &solidfill);
if (stat != Ok) if (stat != Ok)
return stat; return stat;
brush = (GpBrush *)solidfill; brush = (GpBrush *)solidfill;