Re: mshtml: Added IHTMLTable::bgColor property implementation.
30 Mar
2014
30 Mar
'14
10:23 a.m.
On 3/30/2014 19:18, Zhenbo Li wrote:
+ nsAString_Init(&strColor, NULL); + nsres = nsIDOMHTMLTableElement_GetBgColor(This->nstable, &strColor); + nsAString_Finish(&strColor); + + if(NS_SUCCEEDED(nsres)) { + nsAString_GetData(&strColor, &color); + V_VT(p) = VT_BSTR; + hres = nscolor_to_str(color, &V_BSTR(p)); + }else { + ERR("SetBgColor failed: %08x\n", nsres); + hres = E_FAIL; + } I think you can't do GetData() after Finish().
4274
Age (days ago)
4274
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nikolay Sivov