mshtml: Use better helper in IHTMLStyle::get_width implementation.
This commit is contained in:
parent
27555a52d8
commit
c6ada99b89
@ -2002,8 +2002,7 @@ static HRESULT WINAPI HTMLStyle_get_width(IHTMLStyle *iface, VARIANT *p)
|
|||||||
|
|
||||||
TRACE("(%p)->(%p)\n", This, p);
|
TRACE("(%p)->(%p)\n", This, p);
|
||||||
|
|
||||||
V_VT(p) = VT_BSTR;
|
return get_nsstyle_attr_var(This->nsstyle, STYLEID_WIDTH, p, 0);
|
||||||
return get_style_attr(This, STYLEID_WIDTH, &V_BSTR(p));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLStyle_put_height(IHTMLStyle *iface, VARIANT v)
|
static HRESULT WINAPI HTMLStyle_put_height(IHTMLStyle *iface, VARIANT v)
|
||||||
@ -2710,8 +2709,8 @@ static HRESULT WINAPI HTMLStyle_setAttribute(IHTMLStyle *iface, BSTR strAttribut
|
|||||||
HRESULT hres;
|
HRESULT hres;
|
||||||
DISPID dispid;
|
DISPID dispid;
|
||||||
|
|
||||||
TRACE("(%p)->(%s v%d %08x)\n", This, debugstr_w(strAttributeName),
|
TRACE("(%p)->(%s %s %08x)\n", This, debugstr_w(strAttributeName),
|
||||||
V_VT(&AttributeValue), lFlags);
|
debugstr_variant(&AttributeValue), lFlags);
|
||||||
|
|
||||||
if(!strAttributeName)
|
if(!strAttributeName)
|
||||||
return E_INVALIDARG;
|
return E_INVALIDARG;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user