ole32: Fix typo in FileMonikerImpl_BindToObject.

Fix apparent typo in FileMonikerImpl_BindToObject, where ppf was
incorrectly passed into IClassFactory_CreateInstance instead of &ppf
(found by Coverity).
This commit is contained in:
Robert Shearman 2006-04-07 11:20:34 +01:00 committed by Alexandre Julliard
parent 3a2e18c99c
commit bff74c1763
1 changed files with 1 additions and 1 deletions

View File

@ -530,7 +530,7 @@ FileMonikerImpl_BindToObject(IMoniker* iface, IBindCtx* pbc, IMoniker* pmkToLeft
}
if (pcf!=NULL){
IClassFactory_CreateInstance(pcf,NULL,&IID_IPersistFile,(void**)ppf);
IClassFactory_CreateInstance(pcf,NULL,&IID_IPersistFile,(void**)&ppf);
res=IPersistFile_Load(ppf,This->filePathName,STGM_READ);