mshtml: Reimplement nsIURL::GetFileExtension on top of IUri API.
This commit is contained in:
parent
fc2b645d29
commit
d1e49da2f5
|
@ -2492,11 +2492,7 @@ static nsresult NSAPI nsURL_GetFileExtension(nsIURL *iface, nsACString *aFileExt
|
|||
|
||||
TRACE("(%p)->(%p)\n", This, aFileExtension);
|
||||
|
||||
if(This->nsurl)
|
||||
return nsIURL_GetFileExtension(This->nsurl, aFileExtension);
|
||||
|
||||
FIXME("default action not implemented\n");
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
return get_uri_string(This, Uri_PROPERTY_EXTENSION, aFileExtension);
|
||||
}
|
||||
|
||||
static nsresult NSAPI nsURL_SetFileExtension(nsIURL *iface, const nsACString *aFileExtension)
|
||||
|
|
Loading…
Reference in New Issue