mshtml: Don't check out VT in exec_fontsize.

This commit is contained in:
Jacek Caban 2007-06-22 03:06:02 +02:00 committed by Alexandre Julliard
parent 955d5247ba
commit 893eec9ff7
1 changed files with 3 additions and 12 deletions

View File

@ -662,18 +662,9 @@ static HRESULT exec_fontsize(HTMLDocument *This, DWORD cmdexecopt, VARIANT *in,
if(out) {
WCHAR val[10] = {0};
switch(V_VT(out)) {
case VT_I4:
get_font_size(This, val);
V_VT(out) = VT_I4;
V_I4(out) = strtolW(val, NULL, 10);
break;
case VT_BSTR:
get_font_size(This, val);
V_BSTR(out) = SysAllocString(val);
break;
default:
FIXME("unsupported vt %d\n", V_VT(out));
}
}
if(in) {