aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.SharedUI/Converters/StringEllipsisConverter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.SharedUI/Converters/StringEllipsisConverter.cs')
-rw-r--r--Software/Visual_Studio/Tango.SharedUI/Converters/StringEllipsisConverter.cs9
1 files changed, 1 insertions, 8 deletions
diff --git a/Software/Visual_Studio/Tango.SharedUI/Converters/StringEllipsisConverter.cs b/Software/Visual_Studio/Tango.SharedUI/Converters/StringEllipsisConverter.cs
index 7e534d7f0..f5b4dea87 100644
--- a/Software/Visual_Studio/Tango.SharedUI/Converters/StringEllipsisConverter.cs
+++ b/Software/Visual_Studio/Tango.SharedUI/Converters/StringEllipsisConverter.cs
@@ -14,14 +14,7 @@ namespace Tango.SharedUI.Converters
{
try
{
- if (value != null)
- {
- return value.ToString().Ellipsis(System.Convert.ToInt32(parameter));
- }
- else
- {
- return value;
- }
+ return value.ToString().Ellipsis(System.Convert.ToInt32(parameter));
}
catch
{