[cstdstring] demise Format, replacing with StringUtils::Format
[vuplus_xbmc] / xbmc / video / VideoInfoScanner.cpp
index 932b026..ebbdc05 100644 (file)
@@ -1070,7 +1070,7 @@ namespace VIDEO
 
     if (showInfo && content == CONTENT_TVSHOWS)
     {
-      strTitle.Format("%s - %ix%i - %s", showInfo->m_strTitle.c_str(), movieDetails.m_iSeason, movieDetails.m_iEpisode, strTitle.c_str());
+      strTitle = StringUtils::Format("%s - %ix%i - %s", showInfo->m_strTitle.c_str(), movieDetails.m_iSeason, movieDetails.m_iEpisode, strTitle.c_str());
     }
 
     std::string redactPath = pItem->GetPath();
@@ -1689,11 +1689,7 @@ namespace VIDEO
       if (!time)
         time = buffer.st_ctime;
       if (time)
-      {
-        CStdString hash;
-        hash.Format("fast%"PRId64, time);
-        return hash;
-      }
+        return StringUtils::Format("fast%"PRId64, time);
     }
     return "";
   }