From 22ea60b3bba037db12220e33c7e6e0642ea52632 Mon Sep 17 00:00:00 2001
From: "waterson%netscape.com" <waterson%netscape.com>
Date: Mon, 23 Aug 1999 04:19:48 +0000
Subject: [PATCH] Clean up Unix compiler warnings.

---
 xpfe/components/directory/nsDirectoryViewer.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/xpfe/components/directory/nsDirectoryViewer.cpp b/xpfe/components/directory/nsDirectoryViewer.cpp
index fcdf986420d..2326222e5eb 100644
--- a/xpfe/components/directory/nsDirectoryViewer.cpp
+++ b/xpfe/components/directory/nsDirectoryViewer.cpp
@@ -73,7 +73,7 @@ static NS_DEFINE_CID(kRDFServiceCID,             NS_RDFSERVICE_CID);
 
 class nsHTTPIndex : public nsIHTTPIndex
 {
-private:
+protected:
   // We grab a reference to the content viewer container (which
   // indirectly owns us) so that we can insert ourselves as a global
   // in the script context _after_ the XUL doc has been embedded into
@@ -86,8 +86,8 @@ private:
   nsCOMPtr<nsIRDFDataSource> mDataSource;
 
   nsHTTPIndex(nsIContentViewerContainer* aContainer);
-  virtual ~nsHTTPIndex();
   nsresult Init(nsIURI* aBaseURL);
+  virtual ~nsHTTPIndex();
 
 public:
 
@@ -109,7 +109,7 @@ public:
 
 class nsHTTPIndexParser : public nsIStreamListener
 {
-private:
+protected:
   static nsrefcnt gRefCnt;
   static nsIRDFService* gRDF;
   static nsIRDFResource* kHTTPIndex_Comment;
@@ -801,7 +801,7 @@ nsHTTPIndex::CreateListener(nsIStreamListener** _result)
 
 class nsDirectoryViewerFactory : public nsIDocumentLoaderFactory
 {
-private:
+protected:
   nsDirectoryViewerFactory();
   virtual ~nsDirectoryViewerFactory();