Add a patch to allow building with the version of mozilla currently in the

ports tree.

Submitted by:	Thomas M. Hermann <Thomas.Hermann@cox.net>
This commit is contained in:
Eric Melville 2002-10-05 18:41:44 +00:00
parent 94d6949794
commit d822f68dab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67369

View File

@ -0,0 +1,19 @@
--- src/mozilla.cpp.orig Mon Sep 30 07:27:17 2002
+++ src/mozilla.cpp Mon Sep 30 07:28:14 2002
@@ -62,6 +62,7 @@
#include "nsIContentViewerFile.h"
#include "nsIPrintOptions.h"
#include "nsIPrintSettings.h"
+#include "nsIPrintSettingsService.h"
#include "nsIWebBrowserPrint.h"
#include "skipstone-print.h"
#include "debug.h"
@@ -203,7 +204,7 @@
#ifdef NS_WITH_SERVICE
NS_WITH_SERVICE(nsIPrintOptions, options, kPrintOptionsCID, &result);
#else
- nsCOMPtr<nsIPrintOptions> options = do_GetService(kPrintOptionsCID, &result);
+ nsCOMPtr<nsIPrintSettingsService> options = do_GetService(kPrintOptionsCID, &result);
#endif
if (NS_FAILED(result)) D_RETURN_ ( NS_ERROR_FAILURE );