Remove LiveTV menu.
[vuplus_xbmc] / xbmc / Temperature.cpp
index 18dfb7d..240af9d 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *      Copyright (C) 2005-2013 Team XBMC
- *      http://www.xbmc.org
+ *      http://xbmc.org
  *
  *  This Program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -21,7 +21,7 @@
 #include "LangInfo.h"
 #include "guilib/LocalizeStrings.h"
 #include "Temperature.h"
-
+#include "utils/StringUtils.h"
 
 CTemperature::CTemperature()
 {
@@ -483,13 +483,10 @@ double CTemperature::ToLocale() const
 }
 
 // Returns temperature as localized string
-CStdString CTemperature::ToString() const
+std::string CTemperature::ToString() const
 {
   if (!IsValid())
     return g_localizeStrings.Get(13205); // "Unknown"
 
-  CStdString str;
-  str.Format("%2.0f%s", ToLocale(), g_langInfo.GetTempUnitString().c_str());
-
-  return str;
+  return StringUtils::Format("%2.0f%s", ToLocale(), g_langInfo.GetTempUnitString().c_str());
 }