Commit 8085b708 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Get rid of no longer needed HTMLLocation_value.

parent 1c60a21a
......@@ -343,34 +343,6 @@ static HRESULT WINAPI HTMLLocation_toString(IHTMLLocation *iface, BSTR *String)
return E_NOTIMPL;
}
static HRESULT HTMLLocation_value(IUnknown *iface, LCID lcid, WORD flags, DISPPARAMS *params,
VARIANT *res, EXCEPINFO *ei, IServiceProvider *caller)
{
HTMLLocation *This = HTMLLOCATION_THIS(iface);
HRESULT hres;
TRACE("(%p)\n", This);
switch(flags) {
case DISPATCH_PROPERTYGET: {
BSTR str;
hres = IHTMLLocation_get_href(HTMLLOCATION(This), &str);
if(FAILED(hres))
return hres;
V_VT(res) = VT_BSTR;
V_BSTR(res) = str;
break;
}
default:
FIXME("unimplemented flags %x\n", flags);
return E_NOTIMPL;
}
return S_OK;
}
#undef HTMLLOCATION_THIS
static const IHTMLLocationVtbl HTMLLocationVtbl = {
......@@ -403,18 +375,12 @@ static const IHTMLLocationVtbl HTMLLocationVtbl = {
HTMLLocation_toString
};
static const dispex_static_data_vtbl_t HTMLLocation_dispex_vtbl = {
HTMLLocation_value,
NULL,
NULL
};
static const tid_t HTMLLocation_iface_tids[] = {
IHTMLLocation_tid,
0
};
static dispex_static_data_t HTMLLocation_dispex = {
&HTMLLocation_dispex_vtbl,
NULL,
DispHTMLLocation_tid,
NULL,
HTMLLocation_iface_tids
......
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