Cleanup bad string usage by my previous patch to bug 191309 r+sr=darin

git-svn-id: svn://10.0.0.236/trunk@171739 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
neil%parkwaycc.co.uk 2005-04-05 22:56:29 +00:00
parent e3f84c77fe
commit ee8d0294e1

View File

@ -992,7 +992,8 @@ nsChromeRegistry::GetDynamicDataSource(nsIURI *aChromeURL,
}
// Retrieve the mInner data source.
nsCAutoString overlayFile( aIsOverlay ? "overlays.rdf" : "stylesheets.rdf" );
const nsACString& overlayFile = aIsOverlay ?
NS_LITERAL_CSTRING("overlays.rdf") : NS_LITERAL_CSTRING("stylesheets.rdf");
return LoadDataSource(overlayFile, aResult, aUseProfile, nsnull);
}