mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Bug 528731 - follow up patch, return S_OK/E_UNEXPECTED from GetData, not PR_TRUE/FALSE. r=jmathies.
This commit is contained in:
parent
9dd0888609
commit
bab4e48f04
@ -492,7 +492,8 @@ STDMETHODIMP nsDataObj::GetData(LPFORMATETC aFormat, LPSTGMEDIUM pSTM)
|
||||
// drag operations.
|
||||
LPDATAENTRY pde;
|
||||
if (LookupArbitraryFormat(aFormat, &pde, FALSE)) {
|
||||
return CopyMediumData(pSTM, &pde->stgm, aFormat, FALSE);
|
||||
return CopyMediumData(pSTM, &pde->stgm, aFormat, FALSE)
|
||||
? S_OK : E_UNEXPECTED;
|
||||
}
|
||||
|
||||
// Firefox internal formats
|
||||
|
Loading…
Reference in New Issue
Block a user