mshtml: Add support for Reference BSTR when setting styles.

This commit is contained in:
Alistair Leslie-Hughes 2009-09-10 19:58:43 +10:00 committed by Alexandre Julliard
parent f493e56d4d
commit 2d791e8c67
1 changed files with 3 additions and 0 deletions

View File

@ -292,6 +292,9 @@ HRESULT set_nsstyle_attr_var(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid,
case VT_BSTR:
return set_nsstyle_attr(nsstyle, sid, V_BSTR(value), flags);
case VT_BSTR|VT_BYREF:
return set_nsstyle_attr(nsstyle, sid, *V_BSTRREF(value), flags);
case VT_I4: {
WCHAR str[14];
static const WCHAR format[] = {'%','d',0};