Bug 203387 warning: cannot pass objects of type `NS_ConvertUCS2toUTF8' through `...'

r=bsmedberg sr=bz
This commit is contained in:
timeless%mozdev.org 2003-05-23 21:50:04 +00:00
Родитель 664815793a
Коммит cc8cd7ed95
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -329,7 +329,7 @@ NS_IMETHODIMP nsOSHelperAppService::GetFromMIMEType(const char *aMIMEType,
nsresult nsOSHelperAppService::GetFileTokenForPath(const PRUnichar* platformAppPath, nsIFile ** aFile) nsresult nsOSHelperAppService::GetFileTokenForPath(const PRUnichar* platformAppPath, nsIFile ** aFile)
{ {
LOG(("-- nsOSHelperAppService::GetFileTokenForPath: '%s'\n", NS_ConvertUCS2toUTF8(platformAppPath))); LOG(("-- nsOSHelperAppService::GetFileTokenForPath: '%s'\n", NS_ConvertUCS2toUTF8(platformAppPath).get()));
nsCOMPtr<nsILocalFile> localFile (do_CreateInstance(NS_LOCAL_FILE_CONTRACTID)); nsCOMPtr<nsILocalFile> localFile (do_CreateInstance(NS_LOCAL_FILE_CONTRACTID));
nsresult rv = NS_OK; nsresult rv = NS_OK;