Remove const for the moment to fix Unix complaints.

This commit is contained in:
rjc%netscape.com 1999-12-19 06:56:47 +00:00
Родитель 09a4bbddf5
Коммит c59a8d3039
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -266,7 +266,7 @@ friend NS_IMETHODIMP NS_NewInternetSearchService(nsISupports* aOuter, REFNSIID a
static nsresult GetData(nsString &data, const char *sectionToFind, const char *attribToFind, nsString &value);
nsresult GetInputs(const nsString &data, nsString &userVar, const nsString &text, nsString &input);
nsresult GetURL(nsIRDFResource *source, nsIRDFLiteral** aResult);
nsresult ParseHTML(nsIURI *aURL, nsIRDFResource *mParent, nsIRDFResource *engine, const nsString &htmlResults, PRBool useAllHREFsFlag, PRUint32 &numResults);
nsresult ParseHTML(nsIURI *aURL, nsIRDFResource *mParent, nsIRDFResource *engine, nsString &htmlResults, PRBool useAllHREFsFlag, PRUint32 &numResults);
InternetSearchDataSource(void);
virtual ~InternetSearchDataSource(void);
@ -2350,7 +2350,7 @@ InternetSearchDataSource::OnStopRequest(nsIChannel* channel, nsISupports *ctxt,
NS_IMETHODIMP
InternetSearchDataSource::ParseHTML(nsIURI *aURL, nsIRDFResource *mParent, nsIRDFResource *mEngine,
const nsString &htmlResults, PRBool useAllHREFsFlag, PRUint32 &numResults)
nsString &htmlResults, PRBool useAllHREFsFlag, PRUint32 &numResults)
{
nsAutoString data, engineStr;
nsAutoString resultListStartStr, resultListEndStr;

Просмотреть файл

@ -266,7 +266,7 @@ friend NS_IMETHODIMP NS_NewInternetSearchService(nsISupports* aOuter, REFNSIID a
static nsresult GetData(nsString &data, const char *sectionToFind, const char *attribToFind, nsString &value);
nsresult GetInputs(const nsString &data, nsString &userVar, const nsString &text, nsString &input);
nsresult GetURL(nsIRDFResource *source, nsIRDFLiteral** aResult);
nsresult ParseHTML(nsIURI *aURL, nsIRDFResource *mParent, nsIRDFResource *engine, const nsString &htmlResults, PRBool useAllHREFsFlag, PRUint32 &numResults);
nsresult ParseHTML(nsIURI *aURL, nsIRDFResource *mParent, nsIRDFResource *engine, nsString &htmlResults, PRBool useAllHREFsFlag, PRUint32 &numResults);
InternetSearchDataSource(void);
virtual ~InternetSearchDataSource(void);
@ -2350,7 +2350,7 @@ InternetSearchDataSource::OnStopRequest(nsIChannel* channel, nsISupports *ctxt,
NS_IMETHODIMP
InternetSearchDataSource::ParseHTML(nsIURI *aURL, nsIRDFResource *mParent, nsIRDFResource *mEngine,
const nsString &htmlResults, PRBool useAllHREFsFlag, PRUint32 &numResults)
nsString &htmlResults, PRBool useAllHREFsFlag, PRUint32 &numResults)
{
nsAutoString data, engineStr;
nsAutoString resultListStartStr, resultListEndStr;