summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Converters/BooleanToHiddenVisibilityConverter.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/BooleanToHiddenVisibilityConverter.cs
parenta1455ea947b0f85665228f23d2f94f66bdad2cdd (diff)
WinGui: Fix a number of stylecop warnings.
Diffstat (limited to 'win/CS/HandBrakeWPF/Converters/BooleanToHiddenVisibilityConverter.cs')
-rw-r--r--win/CS/HandBrakeWPF/Converters/BooleanToHiddenVisibilityConverter.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Converters/BooleanToHiddenVisibilityConverter.cs b/win/CS/HandBrakeWPF/Converters/BooleanToHiddenVisibilityConverter.cs
index c6a66e1f6..d60ab33c3 100644
--- a/win/CS/HandBrakeWPF/Converters/BooleanToHiddenVisibilityConverter.cs
+++ b/win/CS/HandBrakeWPF/Converters/BooleanToHiddenVisibilityConverter.cs
@@ -9,10 +9,10 @@
namespace HandBrakeWPF.Converters
{
+ using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
- using System;
/// <summary>
/// Boolean to Visibility Converter (Hidden, not Collasped)
@@ -47,7 +47,7 @@ namespace HandBrakeWPF.Converters
return Visibility.Hidden;
}
- if (value is Boolean)
+ if (value is bool)
{
if (param)
{