From 9685340714c0510df245f0b0455c7399c4a6fff6 Mon Sep 17 00:00:00 2001 From: "scc%mozilla.org" Date: Wed, 13 Sep 2000 07:55:09 +0000 Subject: [PATCH] if you want a character pointer, you're going to have to |.get()| it --- uriloader/exthandler/nsExternalHelperAppService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uriloader/exthandler/nsExternalHelperAppService.cpp b/uriloader/exthandler/nsExternalHelperAppService.cpp index 4326dac79c5c..0a4bb5f78159 100644 --- a/uriloader/exthandler/nsExternalHelperAppService.cpp +++ b/uriloader/exthandler/nsExternalHelperAppService.cpp @@ -625,7 +625,7 @@ nsresult nsExternalAppHandler::PromptForSaveToFile(nsILocalFile ** aNewFile, con nsCOMPtr 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; }