Jacek Caban : mshtml: Get rid of no longer needed HTMLLocation_value.
Alexandre Julliard
julliard at winehq.org
Fri Oct 2 11:02:24 CDT 2009
Module: wine
Branch: master
Commit: 8085b7085c700e09f483f851a846795f287b0042
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8085b7085c700e09f483f851a846795f287b0042
Author: Jacek Caban <jacek at codeweavers.com>
Date: Fri Oct 2 13:52:05 2009 +0200
mshtml: Get rid of no longer needed HTMLLocation_value.
---
dlls/mshtml/htmllocation.c | 36 +-----------------------------------
1 files changed, 1 insertions(+), 35 deletions(-)
diff --git a/dlls/mshtml/htmllocation.c b/dlls/mshtml/htmllocation.c
index 67ebf99..45899b4 100644
--- a/dlls/mshtml/htmllocation.c
+++ b/dlls/mshtml/htmllocation.c
@@ -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
More information about the wine-cvs
mailing list