Module: wine Branch: master Commit: 6a360257136d7505a8f11c9a009537c001a61efa URL: http://source.winehq.org/git/wine.git/?a=commit;h=6a360257136d7505a8f11c9a00...
Author: Vincent Povirk vincent@codeweavers.com Date: Wed Oct 28 14:37:37 2009 -0500
ole32: Don't call internal functions from OLECONVERT_GetOLE20FromOLE10.
---
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 b0e0ada..468ef44 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -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); }