Bug 528731 - follow up patch, return S_OK/E_UNEXPECTED from GetData, not PR_TRUE/FALSE. r=jmathies.

This commit is contained in:
Kyle Huey 2009-12-27 11:16:38 -06:00
parent 9dd0888609
commit bab4e48f04

View File

@ -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