ole32: Don't call internal functions from OLECONVERT_WriteOLE20ToBuffer.
This commit is contained in:
parent
6a36025713
commit
39e35cd7b4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue