ole32: Remove uses of This->base.ancestorStorage in removeFromTree.
This commit is contained in:
parent
4e4810f2c5
commit
bdc4755d7d
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue