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 9f031048e3
commit 7f0d35a5f5

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