Commit 6a360257 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

ole32: Don't call internal functions from OLECONVERT_GetOLE20FromOLE10.

parent 4f6e2453
...@@ -6652,8 +6652,8 @@ static void OLECONVERT_GetOLE20FromOLE10(LPSTORAGE pDestStorage, const BYTE *pBu ...@@ -6652,8 +6652,8 @@ static void OLECONVERT_GetOLE20FromOLE10(LPSTORAGE pDestStorage, const BYTE *pBu
hRes = StgOpenStorage(wstrTempFile, NULL, STGM_READ, NULL, 0, &pTempStorage); hRes = StgOpenStorage(wstrTempFile, NULL, STGM_READ, NULL, 0, &pTempStorage);
if(hRes == S_OK) if(hRes == S_OK)
{ {
hRes = StorageImpl_CopyTo(pTempStorage, 0, NULL, NULL, pDestStorage); hRes = IStorage_CopyTo(pTempStorage, 0, NULL, NULL, pDestStorage);
StorageBaseImpl_Release(pTempStorage); IStorage_Release(pTempStorage);
} }
DeleteFileW(wstrTempFile); DeleteFileW(wstrTempFile);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment