Commit 72d09710 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Remove not used argument of nsACString_GetData.

parent b1ce93f9
...@@ -408,7 +408,7 @@ void nsfree(void*); ...@@ -408,7 +408,7 @@ void nsfree(void*);
void nsACString_Init(nsACString*,const char*); void nsACString_Init(nsACString*,const char*);
void nsACString_SetData(nsACString*,const char*); void nsACString_SetData(nsACString*,const char*);
PRUint32 nsACString_GetData(const nsACString*,const char**,PRBool*); PRUint32 nsACString_GetData(const nsACString*,const char**);
void nsACString_Finish(nsACString*); void nsACString_Finish(nsACString*);
void nsAString_Init(nsAString*,const PRUnichar*); void nsAString_Init(nsAString*,const PRUnichar*);
......
...@@ -472,9 +472,9 @@ void nsACString_SetData(nsACString *str, const char *data) ...@@ -472,9 +472,9 @@ void nsACString_SetData(nsACString *str, const char *data)
NS_CStringSetData(str, data, PR_UINT32_MAX); NS_CStringSetData(str, data, PR_UINT32_MAX);
} }
PRUint32 nsACString_GetData(const nsACString *str, const char **data, PRBool *termited) PRUint32 nsACString_GetData(const nsACString *str, const char **data)
{ {
return NS_CStringGetData(str, data, termited); return NS_CStringGetData(str, data, NULL);
} }
void nsACString_Finish(nsACString *str) void nsACString_Finish(nsACString *str)
...@@ -1104,7 +1104,7 @@ static nsresult NSAPI nsURIContentListener_OnStartURIOpen(nsIURIContentListener ...@@ -1104,7 +1104,7 @@ static nsresult NSAPI nsURIContentListener_OnStartURIOpen(nsIURIContentListener
nsACString_Init(&spec_str, NULL); nsACString_Init(&spec_str, NULL);
nsIURI_GetSpec(aURI, &spec_str); nsIURI_GetSpec(aURI, &spec_str);
nsACString_GetData(&spec_str, &spec, NULL); nsACString_GetData(&spec_str, &spec);
TRACE("(%p)->(%p(%s) %p)\n", This, aURI, debugstr_a(spec), _retval); TRACE("(%p)->(%p(%s) %p)\n", This, aURI, debugstr_a(spec), _retval);
......
...@@ -505,7 +505,7 @@ static nsresult NSAPI nsChannel_GetContentCharset(nsIHttpChannel *iface, ...@@ -505,7 +505,7 @@ static nsresult NSAPI nsChannel_GetContentCharset(nsIHttpChannel *iface,
if(This->channel) { if(This->channel) {
nsresult nsres = nsIChannel_GetContentCharset(This->channel, aContentCharset); nsresult nsres = nsIChannel_GetContentCharset(This->channel, aContentCharset);
const char *ch; const char *ch;
nsACString_GetData(aContentCharset, &ch, NULL); nsACString_GetData(aContentCharset, &ch);
return nsres; return nsres;
} }
...@@ -589,7 +589,7 @@ static BOOL do_load_from_moniker_hack(nsChannel *This) ...@@ -589,7 +589,7 @@ static BOOL do_load_from_moniker_hack(nsChannel *This)
if(NS_SUCCEEDED(nsres)) { if(NS_SUCCEEDED(nsres)) {
const char *scheme; const char *scheme;
nsACString_GetData(&scheme_str, &scheme, NULL); nsACString_GetData(&scheme_str, &scheme);
ret = !strcmp(scheme, "wine"); ret = !strcmp(scheme, "wine");
} }
...@@ -1101,7 +1101,7 @@ static nsresult NSAPI nsUploadChannel_SetUploadStream(nsIUploadChannel *iface, ...@@ -1101,7 +1101,7 @@ static nsresult NSAPI nsUploadChannel_SetUploadStream(nsIUploadChannel *iface,
nsIInputStream_Release(This->post_data_stream); nsIInputStream_Release(This->post_data_stream);
if(aContentType) { if(aContentType) {
nsACString_GetData(aContentType, &content_type, NULL); nsACString_GetData(aContentType, &content_type);
if(*content_type) if(*content_type)
FIXME("Unsupported aContentType argument: %s\n", debugstr_a(content_type)); FIXME("Unsupported aContentType argument: %s\n", debugstr_a(content_type));
} }
...@@ -1982,7 +1982,7 @@ static nsresult NSAPI nsIOService_NewURI(nsIIOService *iface, const nsACString * ...@@ -1982,7 +1982,7 @@ static nsresult NSAPI nsIOService_NewURI(nsIIOService *iface, const nsACString *
BOOL is_wine_uri = FALSE; BOOL is_wine_uri = FALSE;
nsresult nsres; nsresult nsres;
nsACString_GetData(aSpec, &spec, NULL); nsACString_GetData(aSpec, &spec);
TRACE("(%p(%s) %s %p %p)\n", aSpec, debugstr_a(spec), debugstr_a(aOriginCharset), TRACE("(%p(%s) %s %p %p)\n", aSpec, debugstr_a(spec), debugstr_a(aOriginCharset),
aBaseURI, _retval); aBaseURI, _retval);
...@@ -2003,7 +2003,7 @@ static nsresult NSAPI nsIOService_NewURI(nsIIOService *iface, const nsACString * ...@@ -2003,7 +2003,7 @@ static nsresult NSAPI nsIOService_NewURI(nsIIOService *iface, const nsACString *
nsres = nsIURI_GetSpec(aBaseURI, &base_uri_str); nsres = nsIURI_GetSpec(aBaseURI, &base_uri_str);
if(NS_SUCCEEDED(nsres)) { if(NS_SUCCEEDED(nsres)) {
nsACString_GetData(&base_uri_str, &base_uri, NULL); nsACString_GetData(&base_uri_str, &base_uri);
TRACE("base_uri=%s\n", debugstr_a(base_uri)); TRACE("base_uri=%s\n", debugstr_a(base_uri));
}else { }else {
ERR("GetSpec failed: %08x\n", nsres); ERR("GetSpec failed: %08x\n", nsres);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment