Fix OS/2 bustage

This commit is contained in:
sicking%bigfoot.com 2005-11-02 07:40:23 +00:00
parent 573c6f3220
commit 2658195b24

View File

@ -122,8 +122,8 @@ ExprResult* DocumentFunctionCall::evaluate(txIEvalContext* aContext)
// The first argument is not a NodeSet
nsAutoString uriStr;
exprResult1->stringValue(uriStr);
Node* loadNode =
es->retrieveDocument(uriStr, baseURISet ? baseURI : mBaseURI);
nsAString* base = baseURISet ? &baseURI : &mBaseURI;
Node* loadNode = es->retrieveDocument(uriStr, *base);
if (loadNode) {
nodeSet->add(loadNode);
}