mshtml: Handle the failure case in get_nsstyle_attr.

This commit is contained in:
Gerald Pfeifer 2011-07-24 01:45:14 +02:00 committed by Alexandre Julliard
parent 1e28bbb88e
commit 03cc8eea6f
1 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,7 @@ HRESULT get_nsstyle_attr(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, BSTR
nsAString_Finish(&str_value); nsAString_Finish(&str_value);
TRACE("%s -> %s\n", debugstr_w(style_tbl[sid].name), debugstr_w(*p)); TRACE("%s -> %s\n", debugstr_w(style_tbl[sid].name), debugstr_w(*p));
return S_OK; return hres;
} }
HRESULT get_nsstyle_attr_var(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, VARIANT *p, DWORD flags) HRESULT get_nsstyle_attr_var(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, VARIANT *p, DWORD flags)