mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1168202 - ia2AccessibleHyperlink::get_anchor needs to give the caller a reference to the anchor r=davidb
This commit is contained in:
parent
a3d0d81ab7
commit
f108222964
@ -55,7 +55,9 @@ ia2AccessibleHyperlink::get_anchor(long aIndex, VARIANT* aAnchor)
|
|||||||
if (!anchor)
|
if (!anchor)
|
||||||
return S_FALSE;
|
return S_FALSE;
|
||||||
|
|
||||||
aAnchor->punkVal = static_cast<IAccessibleHyperlink*>(WrapperFor(anchor));
|
IUnknown* tmp = static_cast<IAccessibleHyperlink*>(WrapperFor(anchor));
|
||||||
|
tmp->AddRef();
|
||||||
|
aAnchor->punkVal = tmp;
|
||||||
aAnchor->vt = VT_UNKNOWN;
|
aAnchor->vt = VT_UNKNOWN;
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user