Fix bug # 23057: Related Links not working on second instance of RL datasource.

git-svn-id: svn://10.0.0.236/trunk@56797 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rjc%netscape.com
2000-01-05 02:37:51 +00:00
parent da83ddd3fa
commit 8319189e94

View File

@@ -535,10 +535,8 @@ class RelatedLinksHandlerImpl : public nsIRelatedLinksHandler,
public nsIRDFDataSource
{
private:
char *mURI;
char *mRelatedLinksURL;
PRBool mPerformQuery;
nsAutoString mRLServerURL;
static nsString mRLServerURL;
// pseudo-constants
static PRInt32 gRefCnt;
@@ -629,6 +627,7 @@ public:
PRInt32 RelatedLinksHandlerImpl::gRefCnt;
nsIRDFService *RelatedLinksHandlerImpl::gRDFService;
nsString RelatedLinksHandlerImpl::mRLServerURL;
nsIRDFResource *RelatedLinksHandlerImpl::kNC_RelatedLinksRoot;
nsIRDFResource *RelatedLinksHandlerImpl::kRDF_type;
nsIRDFResource *RelatedLinksHandlerImpl::kNC_RelatedLinksTopic;
@@ -637,9 +636,7 @@ nsIRDFResource *RelatedLinksHandlerImpl::kNC_Child;
RelatedLinksHandlerImpl::RelatedLinksHandlerImpl()
: mURI(nsnull),
mRelatedLinksURL(nsnull),
mPerformQuery(PR_FALSE)
: mRelatedLinksURL(nsnull)
{
NS_INIT_REFCNT();
}