[cstdstring] demise Format, replacing with StringUtils::Format
[vuplus_xbmc] / xbmc / filesystem / SMBDirectory.cpp
index 1b7f4c7..1624238 100644 (file)
@@ -293,7 +293,7 @@ int CSMBDirectory::OpenDir(const CURL& url, CStdString& strAuth)
     }
 
     if (nt_error == NT_STATUS_OBJECT_NAME_NOT_FOUND)
-      cError.Format(g_localizeStrings.Get(770).c_str(),nt_error);
+      cError = StringUtils::Format(g_localizeStrings.Get(770).c_str(),nt_error);
     else
       cError = get_friendly_nt_error_msg(nt_error);
 
@@ -307,7 +307,7 @@ int CSMBDirectory::OpenDir(const CURL& url, CStdString& strAuth)
     }
 
     if (errno == ENODEV || errno == ENOENT)
-      cError.Format(g_localizeStrings.Get(770).c_str(),errno);
+      cError = StringUtils::Format(g_localizeStrings.Get(770).c_str(),errno);
     else
       cError = strerror(errno);