[cstdstring] demise Format, replacing with StringUtils::Format
[vuplus_xbmc] / xbmc / network / upnp / UPnPInternal.cpp
index 0d0868c..235795f 100644 (file)
@@ -904,8 +904,7 @@ bool GetResource(const PLT_MediaObject* entry, CFileItem& item)
     {
       if(info.Match(PLT_ProtocolInfo("*", "*", allowed[type], "*")))
       {
-        CStdString prop;
-        prop.Format("upnp:subtitle:%d", ++subs);
+        CStdString prop = StringUtils::Format("upnp:subtitle:%d", ++subs);
         item.SetProperty(prop, (const char*)res.m_Uri);
         break;
       }