Removed unnecessary casts

This commit is contained in:
Joshua Askharoun
2021-03-31 17:15:06 -05:00
parent f7d5fa4120
commit 9b09412b45
587 changed files with 7864 additions and 7862 deletions
@@ -35,13 +35,13 @@ namespace Microsoft.Iris.ViewItems
visContainer.RemoveAllGradients();
if (this._gradientMultiLine != null)
{
this._gradientMultiLine.UnregisterUsage((object)this);
this._gradientMultiLine = (IGradient)null;
this._gradientMultiLine.UnregisterUsage(this);
this._gradientMultiLine = null;
}
if (this._gradientClipLeftRight == null)
return;
this._gradientClipLeftRight.UnregisterUsage((object)this);
this._gradientClipLeftRight = (IGradient)null;
this._gradientClipLeftRight.UnregisterUsage(this);
this._gradientClipLeftRight = null;
}
}
}