From d301ad3dec0a6f981aa8a6d90253f3ee2675862e Mon Sep 17 00:00:00 2001 From: "Peter.VanderBeken%pandora.be" Date: Mon, 12 Mar 2001 06:30:38 +0000 Subject: [PATCH] Adding EndLoad call for the stylesheet when doing an XSLT transform. r=jag, sr=jst. --- content/xsl/document/src/nsXSLContentSink.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/content/xsl/document/src/nsXSLContentSink.cpp b/content/xsl/document/src/nsXSLContentSink.cpp index 04687444cb67..460303728795 100644 --- a/content/xsl/document/src/nsXSLContentSink.cpp +++ b/content/xsl/document/src/nsXSLContentSink.cpp @@ -88,6 +88,7 @@ nsXSLContentSink::DidBuildModel(PRInt32 aQualityLevel) nsresult rv; mDocument->SetRootContent(mDocElement); + mDocument->EndLoad(); styleDoc = do_QueryInterface(mDocument, &rv); if (NS_SUCCEEDED(rv) && mXSLTransformMediator) { // Pass the style content model to the tranform mediator.