Commit 9c02fda4 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

ole32: When renaming a storage element, delete from the current iface.

parent ebbf99ab
...@@ -912,7 +912,7 @@ static HRESULT WINAPI StorageBaseImpl_RenameElement( ...@@ -912,7 +912,7 @@ static HRESULT WINAPI StorageBaseImpl_RenameElement(
* Invoke Destroy to get rid of the ole property and automatically redo * Invoke Destroy to get rid of the ole property and automatically redo
* the linking of its previous and next members... * the linking of its previous and next members...
*/ */
IStorage_DestroyElement((IStorage*)This->ancestorStorage, pwcsOldName); IStorage_DestroyElement(iface, pwcsOldName);
} }
else else
......
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