Module: wine Branch: master Commit: 4e4810f2c55a561b048734beedcb7d4483e7b457 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4e4810f2c55a561b048734beed...
Author: Vincent Povirk vincent@codeweavers.com Date: Wed Oct 28 15:01:32 2009 -0500
ole32: Remove uses of This->base.ancestorStorage in createDirEntry.
---
dlls/ole32/storage32.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index 66cbf92..68ca23a 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -1166,7 +1166,7 @@ static HRESULT createDirEntry(
do { - hr = StorageImpl_ReadRawDirEntry(storage->base.ancestorStorage, + hr = StorageImpl_ReadRawDirEntry(storage, currentPropertyIndex, currentData);
@@ -1211,7 +1211,7 @@ static HRESULT createDirEntry( * obtain the new count of property blocks */ blockCount = BlockChainStream_GetCount( - storage->base.ancestorStorage->rootBlockChain)+1; + storage->rootBlockChain)+1;
/* * initialize the size used by the property stream @@ -1222,7 +1222,7 @@ static HRESULT createDirEntry( /* * add a property block to the property chain */ - BlockChainStream_SetSize(storage->base.ancestorStorage->rootBlockChain, newSize); + BlockChainStream_SetSize(storage->rootBlockChain, newSize);
/* * memset the empty property in order to initialize the unused newly @@ -1241,7 +1241,7 @@ static HRESULT createDirEntry( propertyIndex++) { StorageImpl_WriteRawDirEntry( - storage->base.ancestorStorage, + storage, propertyIndex, emptyData); }