diff options
author | sr55 <[email protected]> | 2017-02-11 20:37:33 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2017-02-11 20:37:33 +0000 |
commit | 9ce3910fd193628e754abf4939c3758f1e57e100 (patch) | |
tree | bb7e367be99a36e85aa2c4beb1f45c243ae43c75 /win/CS/HandBrakeWPF/Converters/BooleanConverter.cs | |
parent | a1455ea947b0f85665228f23d2f94f66bdad2cdd (diff) |
WinGui: Fix a number of stylecop warnings.
Diffstat (limited to 'win/CS/HandBrakeWPF/Converters/BooleanConverter.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Converters/BooleanConverter.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Converters/BooleanConverter.cs b/win/CS/HandBrakeWPF/Converters/BooleanConverter.cs index a01b3bf67..5273a3210 100644 --- a/win/CS/HandBrakeWPF/Converters/BooleanConverter.cs +++ b/win/CS/HandBrakeWPF/Converters/BooleanConverter.cs @@ -9,9 +9,9 @@ namespace HandBrakeWPF.Converters
{
+ using System;
using System.Globalization;
using System.Windows.Data;
- using System;
/// <summary>
/// Boolean to Visibility Converter
@@ -41,7 +41,7 @@ namespace HandBrakeWPF.Converters // Paramater is a boolean which inverts the output.
var param = System.Convert.ToBoolean(parameter, CultureInfo.InvariantCulture);
- if (value is Boolean)
+ if (value is bool)
{
return param ? !(bool)value : value;
}
|