mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
mshtml: Remove no longer used get_nsIURI.
This commit is contained in:
parent
57ba0459c9
commit
1088164af3
@ -295,8 +295,6 @@ void init_nsio(nsIComponentManager*,nsIComponentRegistrar*);
|
||||
|
||||
void hlink_frame_navigate(HTMLDocument*,IHlinkFrame*,LPCWSTR,nsIInputStream*,DWORD);
|
||||
|
||||
nsIURI *get_nsIURI(LPCWSTR);
|
||||
|
||||
void *nsalloc(size_t);
|
||||
void nsfree(void*);
|
||||
|
||||
|
@ -1917,27 +1917,3 @@ void init_nsio(nsIComponentManager *component_manager, nsIComponentRegistrar *re
|
||||
if(NS_FAILED(nsres))
|
||||
ERR("RegisterFactory failed: %08lx\n", nsres);
|
||||
}
|
||||
|
||||
nsIURI *get_nsIURI(LPCWSTR url)
|
||||
{
|
||||
nsIURI *ret;
|
||||
nsACString acstr;
|
||||
nsresult nsres;
|
||||
char *urla;
|
||||
int len;
|
||||
|
||||
len = WideCharToMultiByte(CP_ACP, 0, url, -1, NULL, -1, NULL, NULL);
|
||||
urla = mshtml_alloc(len);
|
||||
WideCharToMultiByte(CP_ACP, 0, url, -1, urla, -1, NULL, NULL);
|
||||
|
||||
nsACString_Init(&acstr, urla);
|
||||
|
||||
nsres = nsIIOService_NewURI(nsio, &acstr, NULL, NULL, &ret);
|
||||
if(NS_FAILED(nsres))
|
||||
FIXME("NewURI failed: %08lx\n", nsres);
|
||||
|
||||
nsACString_Finish(&acstr);
|
||||
mshtml_free(urla);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user