Module: wine Branch: master Commit: 39e35cd7b45233b943c91e35f6433342fbc05e7e URL: http://source.winehq.org/git/wine.git/?a=commit;h=39e35cd7b45233b943c91e35f6...
Author: Vincent Povirk vincent@codeweavers.com Date: Wed Oct 28 14:39:05 2009 -0500
ole32: Don't call internal functions from OLECONVERT_WriteOLE20ToBuffer.
---
dlls/ole32/storage32.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index 468ef44..23b3049 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -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);