Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
8b3ff9d1
Commit
8b3ff9d1
authored
Nov 30, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Dec 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Remove the ancestorStorage attribute.
parent
5d39c31b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
19 deletions
+1
-19
storage32.c
dlls/ole32/storage32.c
+1
-14
storage32.h
dlls/ole32/storage32.h
+0
-5
No files found.
dlls/ole32/storage32.c
View file @
8b3ff9d1
...
...
@@ -2459,12 +2459,6 @@ static HRESULT StorageImpl_Construct(
This
->
base
.
ref
=
1
;
This
->
base
.
create
=
create
;
/*
* This is the top-level storage so initialize the ancestor pointer
* to this.
*/
This
->
base
.
ancestorStorage
=
This
;
This
->
base
.
reverted
=
0
;
This
->
hFile
=
hFile
;
...
...
@@ -3822,12 +3816,10 @@ SmallBlockChainStream* Storage32Impl_BigBlocksToSmallBlocks(
static
void
StorageInternalImpl_Invalidate
(
StorageInternalImpl
*
This
)
{
if
(
This
->
base
.
ancestorStorage
)
if
(
!
This
->
base
.
reverted
)
{
TRACE
(
"Storage invalidated (stg=%p)
\n
"
,
This
);
This
->
base
.
ancestorStorage
=
NULL
;
This
->
base
.
reverted
=
1
;
This
->
parentStorage
=
NULL
;
...
...
@@ -4388,11 +4380,6 @@ static StorageInternalImpl* StorageInternalImpl_Construct(
newStorage
->
base
.
baseVtbl
=
&
StorageInternalImpl_BaseVtbl
;
newStorage
->
base
.
openFlags
=
(
openFlags
&
~
STGM_CREATE
);
/*
* Keep the ancestor storage pointer but do not nail a reference to it.
*/
newStorage
->
base
.
ancestorStorage
=
parentStorage
->
ancestorStorage
;
newStorage
->
base
.
reverted
=
0
;
newStorage
->
parentStorage
=
parentStorage
;
...
...
dlls/ole32/storage32.h
View file @
8b3ff9d1
...
...
@@ -214,11 +214,6 @@ struct StorageBaseImpl
LONG
ref
;
/*
* Ancestor storage (top level)
*/
StorageImpl
*
ancestorStorage
;
/*
* TRUE if this object has been invalidated
*/
int
reverted
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment