summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Converters/BooleanConverter.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-02-11 20:37:33 +0000
committersr55 <[email protected]>2017-02-11 20:37:33 +0000
commit9ce3910fd193628e754abf4939c3758f1e57e100 (patch)
treebb7e367be99a36e85aa2c4beb1f45c243ae43c75 /win/CS/HandBrakeWPF/Converters/BooleanConverter.cs
parenta1455ea947b0f85665228f23d2f94f66bdad2cdd (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.cs4
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;
}