Permalink
Browse files

Remove intermediate debugging variables from Themes.ThemeSerializer.E…

…ncodeColorName().
  • Loading branch information...
1 parent 4f06a48 commit e1329348d1eaa096ebba2951fff9003203877a3f @rmcardle rmcardle committed Mar 21, 2013
Showing with 1 addition and 4 deletions.
  1. +1 −4 mRemoteV1/Themes/ThemeSerializer.vb
@@ -103,10 +103,7 @@ Namespace Themes
If color.IsNamedColor Then
Return color.Name
Else
- Dim argb As Integer = color.ToArgb()
- Dim hexValue As String = Hex(argb)
- Dim paddedHex As String = hexValue.PadLeft(8, "0")
- Return paddedHex
+ Return Hex(color.ToArgb()).PadLeft(8, "0")
End If
End Function

0 comments on commit e132934

Please sign in to comment.