if you want a character pointer, you're going to have to |.get()| it

This commit is contained in:
scc%mozilla.org 2000-09-13 07:55:09 +00:00
Родитель 06846e3799
Коммит 9685340714
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -625,7 +625,7 @@ nsresult nsExternalAppHandler::PromptForSaveToFile(nsILocalFile ** aNewFile, con
nsCOMPtr<nsIHelperAppLauncherDialog> dlgService( do_GetService( NS_IHELPERAPPLAUNCHERDLG_PROGID ) );
nsresult rv = NS_OK;
if ( dlgService )
rv = dlgService->PromptForSaveToFile(mWindowContext, aDefaultFile, NS_ConvertASCIItoUCS2(mTempFileExtension), aNewFile);
rv = dlgService->PromptForSaveToFile(mWindowContext, aDefaultFile, NS_ConvertASCIItoUCS2(mTempFileExtension).get(), aNewFile);
return rv;
}