ole32: Remove uses of This->base.ancestorStorage in removeFromTree.

This commit is contained in:
Vincent Povirk 2009-10-28 15:03:19 -05:00 committed by Alexandre Julliard
parent 4e4810f2c5
commit bdc4755d7d
1 changed files with 4 additions and 4 deletions

View File

@ -2036,7 +2036,7 @@ static HRESULT removeFromTree(
setPropertyLink(&parentProperty, typeOfRelation, propertyToDelete.leftChild); setPropertyLink(&parentProperty, typeOfRelation, propertyToDelete.leftChild);
res = StorageImpl_WriteProperty( res = StorageImpl_WriteProperty(
This->base.ancestorStorage, This,
parentPropertyId, parentPropertyId,
&parentProperty); &parentProperty);
if(!res) if(!res)
@ -2057,7 +2057,7 @@ static HRESULT removeFromTree(
do do
{ {
res = StorageImpl_ReadProperty( res = StorageImpl_ReadProperty(
This->base.ancestorStorage, This,
newRightChildParent, newRightChildParent,
&newRightChildParentProperty); &newRightChildParentProperty);
if (!res) if (!res)
@ -2072,7 +2072,7 @@ static HRESULT removeFromTree(
newRightChildParentProperty.rightChild = propertyToDelete.rightChild; newRightChildParentProperty.rightChild = propertyToDelete.rightChild;
res = StorageImpl_WriteProperty( res = StorageImpl_WriteProperty(
This->base.ancestorStorage, This,
newRightChildParent, newRightChildParent,
&newRightChildParentProperty); &newRightChildParentProperty);
if (!res) if (!res)
@ -2089,7 +2089,7 @@ static HRESULT removeFromTree(
setPropertyLink(&parentProperty, typeOfRelation, propertyToDelete.rightChild); setPropertyLink(&parentProperty, typeOfRelation, propertyToDelete.rightChild);
res = StorageImpl_WriteProperty( res = StorageImpl_WriteProperty(
This->base.ancestorStorage, This,
parentPropertyId, parentPropertyId,
&parentProperty); &parentProperty);
if(!res) if(!res)