From 0ca209774719311168489d63a90b65d97fbc0489 Mon Sep 17 00:00:00 2001 From: "mscott%netscape.com" Date: Wed, 21 Jun 2000 08:37:32 +0000 Subject: [PATCH] Bug #38374 --> NOT PART OF THE BUILD YET!!!! more unix updates for helper application support git-svn-id: svn://10.0.0.236/trunk@72754 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/uriloader/exthandler/unix/nsOSHelperAppService.cpp | 4 ++-- mozilla/uriloader/exthandler/unix/nsOSHelperAppService.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/uriloader/exthandler/unix/nsOSHelperAppService.cpp b/mozilla/uriloader/exthandler/unix/nsOSHelperAppService.cpp index 0ad7b93c026..56b347cc7dd 100644 --- a/mozilla/uriloader/exthandler/unix/nsOSHelperAppService.cpp +++ b/mozilla/uriloader/exthandler/unix/nsOSHelperAppService.cpp @@ -92,7 +92,7 @@ nsresult nsExternalApplication::LaunchApplication(nsIFile * aTempFile) if (mApplicationToUse) { const char * strPath = (const char *) path; - mApplication->Spawn(&strPath, 1); + mApplicationToUse->Spawn(&strPath, 1); } else if (!mAppRegistryName.IsEmpty() && aTempFile) { @@ -121,7 +121,7 @@ nsresult nsExternalApplication::LaunchApplication(nsIFile * aTempFile) nsOSHelperAppService::nsOSHelperAppService() : nsExternalHelperAppService() { - //nsExternalHelperAppService::Init(); + nsExternalHelperAppService::Init(); } nsOSHelperAppService::~nsOSHelperAppService() diff --git a/mozilla/uriloader/exthandler/unix/nsOSHelperAppService.h b/mozilla/uriloader/exthandler/unix/nsOSHelperAppService.h index e5bf70e5b9f..6050afdc8d8 100644 --- a/mozilla/uriloader/exthandler/unix/nsOSHelperAppService.h +++ b/mozilla/uriloader/exthandler/unix/nsOSHelperAppService.h @@ -56,7 +56,7 @@ public: // aApplicationToUse --> the application the user wishes to launch with the incoming data // aFileExtensionForData --> the extension we are going to use for the temp file in the external app handler // aStreamListener --> the stream listener (really a external app handler) we're going to use for retrieving the data - virtual nsresult CreateStreamListenerWithApp(nsIFile * aApplicationToUse, const char * aFileExtensionForData, nsIStreamListener ** aStreamListener);f + virtual nsresult CreateStreamListenerWithApp(nsIFile * aApplicationToUse, const char * aFileExtensionForData, nsIStreamListener ** aStreamListener); protected: