From 07dc983e89d1c02d3358b668a865b9e99f96a41f Mon Sep 17 00:00:00 2001 From: "sicking%bigfoot.com" Date: Wed, 26 Mar 2003 03:18:37 +0000 Subject: [PATCH] Fix OS/2 bustage --- .../source/xslt/functions/DocumentFunctionCall.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/transformiix/source/xslt/functions/DocumentFunctionCall.cpp b/extensions/transformiix/source/xslt/functions/DocumentFunctionCall.cpp index 4ca2b181879..52bb753583c 100644 --- a/extensions/transformiix/source/xslt/functions/DocumentFunctionCall.cpp +++ b/extensions/transformiix/source/xslt/functions/DocumentFunctionCall.cpp @@ -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); }