Correct string usage in XSLT hooks. Not part of default build (ifdef'ed). r=nisheeth.

This commit is contained in:
Peter.VanderBeken%pandora.be 2000-09-04 05:55:00 +00:00
parent d92a2df1aa
commit dba350450c
4 changed files with 4 additions and 4 deletions

View File

@ -978,7 +978,7 @@ static void SplitMimeType(const nsString& aValue, nsString& aType, nsString& aPa
#ifdef MOZ_XSL
nsresult
nsXMLContentSink::CreateStyleSheetURL(nsIURI** aUrl,
const nsAutoString& aHref)
const nsAReadableString& aHref)
{
nsresult result = NS_OK;
result = NS_NewURI(aUrl, aHref, mDocumentBaseURL);

View File

@ -149,7 +149,7 @@ protected:
const nsString& aHref, PRBool aAlternate,
const nsString& aTitle, const nsString& aType,
const nsString& aMedia);
nsresult CreateStyleSheetURL(nsIURI** aUrl, const nsAutoString& aHref);
nsresult CreateStyleSheetURL(nsIURI** aUrl, const nsAReadableString& aHref);
nsresult LoadXSLStyleSheet(nsIURI* aUrl, const nsString& aType);
nsresult SetupTransformMediator();
#endif

View File

@ -978,7 +978,7 @@ static void SplitMimeType(const nsString& aValue, nsString& aType, nsString& aPa
#ifdef MOZ_XSL
nsresult
nsXMLContentSink::CreateStyleSheetURL(nsIURI** aUrl,
const nsAutoString& aHref)
const nsAReadableString& aHref)
{
nsresult result = NS_OK;
result = NS_NewURI(aUrl, aHref, mDocumentBaseURL);

View File

@ -149,7 +149,7 @@ protected:
const nsString& aHref, PRBool aAlternate,
const nsString& aTitle, const nsString& aType,
const nsString& aMedia);
nsresult CreateStyleSheetURL(nsIURI** aUrl, const nsAutoString& aHref);
nsresult CreateStyleSheetURL(nsIURI** aUrl, const nsAReadableString& aHref);
nsresult LoadXSLStyleSheet(nsIURI* aUrl, const nsString& aType);
nsresult SetupTransformMediator();
#endif