ole32: Don't call internal functions from OLECONVERT_GetOLE20FromOLE10.

This commit is contained in:
Vincent Povirk 2009-10-28 14:37:37 -05:00 committed by Alexandre Julliard
parent 4f6e2453e9
commit 6a36025713
1 changed files with 2 additions and 2 deletions

View File

@ -6652,8 +6652,8 @@ static void OLECONVERT_GetOLE20FromOLE10(LPSTORAGE pDestStorage, const BYTE *pBu
hRes = StgOpenStorage(wstrTempFile, NULL, STGM_READ, NULL, 0, &pTempStorage);
if(hRes == S_OK)
{
hRes = StorageImpl_CopyTo(pTempStorage, 0, NULL, NULL, pDestStorage);
StorageBaseImpl_Release(pTempStorage);
hRes = IStorage_CopyTo(pTempStorage, 0, NULL, NULL, pDestStorage);
IStorage_Release(pTempStorage);
}
DeleteFileW(wstrTempFile);
}