ole32: Don't call internal functions from OLECONVERT_WriteOLE20ToBuffer.

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

View File

@ -6697,8 +6697,8 @@ static DWORD OLECONVERT_WriteOLE20ToBuffer(LPSTORAGE pStorage, BYTE **pData)
if(hRes == S_OK)
{
/* Copy Src Storage to the Temp Storage */
StorageImpl_CopyTo(pStorage, 0, NULL, NULL, pTempStorage);
StorageBaseImpl_Release(pTempStorage);
IStorage_CopyTo(pStorage, 0, NULL, NULL, pTempStorage);
IStorage_Release(pTempStorage);
/* Open Temp Storage as a file and copy to memory */
hFile = CreateFileW(wstrTempFile, GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0);