From 2d791e8c67e76efaf29ff650883a7a47fa0447da Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Thu, 10 Sep 2009 19:58:43 +1000 Subject: [PATCH] mshtml: Add support for Reference BSTR when setting styles. --- dlls/mshtml/htmlstyle.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/mshtml/htmlstyle.c b/dlls/mshtml/htmlstyle.c index 5a75e2b3889..c2cfa4355f0 100644 --- a/dlls/mshtml/htmlstyle.c +++ b/dlls/mshtml/htmlstyle.c @@ -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};