Got rid of #include's, too.

git-svn-id: svn://10.0.0.236/trunk@20733 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
waterson%netscape.com 1999-02-15 19:56:47 +00:00
parent 6d9e8212a0
commit 80bf7397a5
2 changed files with 0 additions and 12 deletions

View File

@ -50,8 +50,6 @@
#include "nsICSSStyleSheet.h"
#include "nsLayoutCID.h"
#include "nsIRDFContentModelBuilder.h"
#include "nsIRDFDocument.h"
#include "nsRDFCID.h"
/* Forward declarations.... */
@ -454,12 +452,9 @@ nsDocFactoryImpl::CreateRDFDocument(const char* aContentType, nsIURL* aURL,
nsIStreamListener** aDocListener,
nsIContentViewer** aDocViewer)
{
static NS_DEFINE_IID(kIRDFDocumentIID, NS_IRDFDOCUMENT_IID);
nsresult rv = NS_ERROR_FAILURE;
nsIDocument* doc = nsnull;
nsIDocumentViewer* docv = nsnull;
nsIRDFContentModelBuilder* builder = nsnull;
// Load the UA style sheet if we haven't already done that
if (nsnull == gUAStyleSheet) {
@ -502,7 +497,6 @@ nsDocFactoryImpl::CreateRDFDocument(const char* aContentType, nsIURL* aURL,
done:
NS_IF_RELEASE(doc);
NS_IF_RELEASE(builder);
return rv;
}

View File

@ -50,8 +50,6 @@
#include "nsICSSStyleSheet.h"
#include "nsLayoutCID.h"
#include "nsIRDFContentModelBuilder.h"
#include "nsIRDFDocument.h"
#include "nsRDFCID.h"
/* Forward declarations.... */
@ -454,12 +452,9 @@ nsDocFactoryImpl::CreateRDFDocument(const char* aContentType, nsIURL* aURL,
nsIStreamListener** aDocListener,
nsIContentViewer** aDocViewer)
{
static NS_DEFINE_IID(kIRDFDocumentIID, NS_IRDFDOCUMENT_IID);
nsresult rv = NS_ERROR_FAILURE;
nsIDocument* doc = nsnull;
nsIDocumentViewer* docv = nsnull;
nsIRDFContentModelBuilder* builder = nsnull;
// Load the UA style sheet if we haven't already done that
if (nsnull == gUAStyleSheet) {
@ -502,7 +497,6 @@ nsDocFactoryImpl::CreateRDFDocument(const char* aContentType, nsIURL* aURL,
done:
NS_IF_RELEASE(doc);
NS_IF_RELEASE(builder);
return rv;
}