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
2e5a0dd6
Commit
2e5a0dd6
authored
Feb 23, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Remove get_ownerDocument() forward.
parent
3d63982f
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
40 additions
and
35 deletions
+40
-35
attribute.c
dlls/msxml3/attribute.c
+3
-2
cdata.c
dlls/msxml3/cdata.c
+3
-2
comment.c
dlls/msxml3/comment.c
+4
-3
docfrag.c
dlls/msxml3/docfrag.c
+3
-2
domdoc.c
dlls/msxml3/domdoc.c
+6
-5
element.c
dlls/msxml3/element.c
+4
-3
entityref.c
dlls/msxml3/entityref.c
+3
-2
msxml_private.h
dlls/msxml3/msxml_private.h
+3
-1
node.c
dlls/msxml3/node.c
+4
-10
pi.c
dlls/msxml3/pi.c
+3
-2
schema.c
dlls/msxml3/schema.c
+1
-1
text.c
dlls/msxml3/text.c
+3
-2
No files found.
dlls/msxml3/attribute.c
View file @
2e5a0dd6
...
...
@@ -353,10 +353,11 @@ static HRESULT WINAPI domattr_hasChildNodes(
static
HRESULT
WINAPI
domattr_get_ownerDocument
(
IXMLDOMAttribute
*
iface
,
IXMLDOMDocument
**
domDocument
)
IXMLDOMDocument
**
doc
)
{
domattr
*
This
=
impl_from_IXMLDOMAttribute
(
iface
);
return
IXMLDOMNode_get_ownerDocument
(
&
This
->
node
.
IXMLDOMNode_iface
,
domDocument
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
doc
);
return
node_get_owner_doc
(
&
This
->
node
,
doc
);
}
static
HRESULT
WINAPI
domattr_cloneNode
(
...
...
dlls/msxml3/cdata.c
View file @
2e5a0dd6
...
...
@@ -364,10 +364,11 @@ static HRESULT WINAPI domcdata_hasChildNodes(
static
HRESULT
WINAPI
domcdata_get_ownerDocument
(
IXMLDOMCDATASection
*
iface
,
IXMLDOMDocument
**
domDocument
)
IXMLDOMDocument
**
doc
)
{
domcdata
*
This
=
impl_from_IXMLDOMCDATASection
(
iface
);
return
IXMLDOMNode_get_ownerDocument
(
&
This
->
node
.
IXMLDOMNode_iface
,
domDocument
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
doc
);
return
node_get_owner_doc
(
&
This
->
node
,
doc
);
}
static
HRESULT
WINAPI
domcdata_cloneNode
(
...
...
dlls/msxml3/comment.c
View file @
2e5a0dd6
...
...
@@ -356,11 +356,12 @@ static HRESULT WINAPI domcomment_hasChildNodes(
}
static
HRESULT
WINAPI
domcomment_get_ownerDocument
(
IXMLDOMComment
*
iface
,
IXMLDOMDocument
**
domDocument
)
IXMLDOMComment
*
iface
,
IXMLDOMDocument
**
doc
)
{
domcomment
*
This
=
impl_from_IXMLDOMComment
(
iface
);
return
IXMLDOMNode_get_ownerDocument
(
&
This
->
node
.
IXMLDOMNode_iface
,
domDocument
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
doc
);
return
node_get_owner_doc
(
&
This
->
node
,
doc
);
}
static
HRESULT
WINAPI
domcomment_cloneNode
(
...
...
dlls/msxml3/docfrag.c
View file @
2e5a0dd6
...
...
@@ -361,10 +361,11 @@ static HRESULT WINAPI domfrag_hasChildNodes(
static
HRESULT
WINAPI
domfrag_get_ownerDocument
(
IXMLDOMDocumentFragment
*
iface
,
IXMLDOMDocument
**
domDocument
)
IXMLDOMDocument
**
doc
)
{
domfrag
*
This
=
impl_from_IXMLDOMDocumentFragment
(
iface
);
return
IXMLDOMNode_get_ownerDocument
(
&
This
->
node
.
IXMLDOMNode_iface
,
domDocument
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
doc
);
return
node_get_owner_doc
(
&
This
->
node
,
doc
);
}
static
HRESULT
WINAPI
domfrag_cloneNode
(
...
...
dlls/msxml3/domdoc.c
View file @
2e5a0dd6
...
...
@@ -1249,10 +1249,11 @@ static HRESULT WINAPI domdoc_hasChildNodes(
static
HRESULT
WINAPI
domdoc_get_ownerDocument
(
IXMLDOMDocument3
*
iface
,
IXMLDOMDocument
**
DOMDocument
)
IXMLDOMDocument
**
doc
)
{
domdoc
*
This
=
impl_from_IXMLDOMDocument3
(
iface
);
return
IXMLDOMNode_get_ownerDocument
(
&
This
->
node
.
IXMLDOMNode_iface
,
DOMDocument
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
doc
);
return
node_get_owner_doc
(
&
This
->
node
,
doc
);
}
...
...
@@ -3423,7 +3424,7 @@ static dispex_static_data_t domdoc_dispex = {
domdoc_iface_tids
};
HRESULT
DOMDocument_create
_from_xmldoc
(
xmlDocPtr
xmldoc
,
IXMLDOMDocument3
**
document
)
HRESULT
get_domdoc
_from_xmldoc
(
xmlDocPtr
xmldoc
,
IXMLDOMDocument3
**
document
)
{
domdoc
*
doc
;
...
...
@@ -3477,7 +3478,7 @@ HRESULT DOMDocument_create(const GUID *clsid, IUnknown *pUnkOuter, void **ppObj)
xmldoc
->
_private
=
create_priv
();
priv_from_xmlDocPtr
(
xmldoc
)
->
properties
=
create_properties
(
clsid
);
hr
=
DOMDocument_create
_from_xmldoc
(
xmldoc
,
(
IXMLDOMDocument3
**
)
ppObj
);
hr
=
get_domdoc
_from_xmldoc
(
xmldoc
,
(
IXMLDOMDocument3
**
)
ppObj
);
if
(
FAILED
(
hr
))
{
free_properties
(
properties_from_xmlDocPtr
(
xmldoc
));
...
...
@@ -3496,7 +3497,7 @@ IUnknown* create_domdoc( xmlNodePtr document )
TRACE
(
"(%p)
\n
"
,
document
);
hr
=
DOMDocument_create
_from_xmldoc
((
xmlDocPtr
)
document
,
(
IXMLDOMDocument3
**
)
&
pObj
);
hr
=
get_domdoc
_from_xmldoc
((
xmlDocPtr
)
document
,
(
IXMLDOMDocument3
**
)
&
pObj
);
if
(
FAILED
(
hr
))
return
NULL
;
...
...
dlls/msxml3/element.c
View file @
2e5a0dd6
...
...
@@ -371,11 +371,12 @@ static HRESULT WINAPI domelem_hasChildNodes(
}
static
HRESULT
WINAPI
domelem_get_ownerDocument
(
IXMLDOMElement
*
iface
,
IXMLDOMDocument
**
domDocument
)
IXMLDOMElement
*
iface
,
IXMLDOMDocument
**
doc
)
{
domelem
*
This
=
impl_from_IXMLDOMElement
(
iface
);
return
IXMLDOMNode_get_ownerDocument
(
&
This
->
node
.
IXMLDOMNode_iface
,
domDocument
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
doc
);
return
node_get_owner_doc
(
&
This
->
node
,
doc
);
}
static
HRESULT
WINAPI
domelem_cloneNode
(
...
...
dlls/msxml3/entityref.c
View file @
2e5a0dd6
...
...
@@ -355,10 +355,11 @@ static HRESULT WINAPI entityref_hasChildNodes(
static
HRESULT
WINAPI
entityref_get_ownerDocument
(
IXMLDOMEntityReference
*
iface
,
IXMLDOMDocument
**
domDocument
)
IXMLDOMDocument
**
doc
)
{
entityref
*
This
=
impl_from_IXMLDOMEntityReference
(
iface
);
return
IXMLDOMNode_get_ownerDocument
(
&
This
->
node
.
IXMLDOMNode_iface
,
domDocument
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
doc
);
return
node_get_owner_doc
(
&
This
->
node
,
doc
);
}
static
HRESULT
WINAPI
entityref_cloneNode
(
...
...
dlls/msxml3/msxml_private.h
View file @
2e5a0dd6
...
...
@@ -274,8 +274,10 @@ extern HRESULT node_get_base_name(xmlnode*,BSTR*);
extern
HRESULT
node_get_namespaceURI
(
xmlnode
*
,
BSTR
*
);
extern
HRESULT
node_remove_child
(
xmlnode
*
,
IXMLDOMNode
*
,
IXMLDOMNode
**
);
extern
HRESULT
node_has_childnodes
(
const
xmlnode
*
,
VARIANT_BOOL
*
);
extern
HRESULT
node_get_owner_doc
(
const
xmlnode
*
,
IXMLDOMDocument
**
);
extern
HRESULT
get_domdoc_from_xmldoc
(
xmlDocPtr
xmldoc
,
IXMLDOMDocument3
**
document
);
extern
HRESULT
DOMDocument_create_from_xmldoc
(
xmlDocPtr
xmldoc
,
IXMLDOMDocument3
**
document
);
extern
HRESULT
SchemaCache_validate_tree
(
IXMLDOMSchemaCollection2
*
iface
,
xmlNodePtr
tree
);
extern
XDR_DT
SchemaCache_get_node_dt
(
IXMLDOMSchemaCollection2
*
iface
,
xmlNodePtr
node
);
...
...
dlls/msxml3/node.c
View file @
2e5a0dd6
...
...
@@ -463,15 +463,9 @@ HRESULT node_has_childnodes(const xmlnode *This, VARIANT_BOOL *ret)
return
S_OK
;
}
static
HRESULT
WINAPI
xmlnode_get_ownerDocument
(
IXMLDOMNode
*
iface
,
IXMLDOMDocument
**
DOMDocument
)
HRESULT
node_get_owner_doc
(
const
xmlnode
*
This
,
IXMLDOMDocument
**
doc
)
{
xmlnode
*
This
=
impl_from_IXMLDOMNode
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
DOMDocument
);
return
DOMDocument_create_from_xmldoc
(
This
->
node
->
doc
,
(
IXMLDOMDocument3
**
)
DOMDocument
);
return
get_domdoc_from_xmldoc
(
This
->
node
->
doc
,
(
IXMLDOMDocument3
**
)
doc
);
}
HRESULT
node_clone
(
xmlnode
*
This
,
VARIANT_BOOL
deep
,
IXMLDOMNode
**
cloneNode
)
...
...
@@ -1137,7 +1131,7 @@ static const struct IXMLDOMNodeVtbl xmlnode_vtbl =
NULL
,
NULL
,
NULL
,
xmlnode_get_ownerDocument
,
NULL
,
NULL
,
NULL
,
xmlnode_get_text
,
...
...
@@ -1500,7 +1494,7 @@ static HRESULT WINAPI unknode_get_ownerDocument(
IXMLDOMDocument
**
domDocument
)
{
unknode
*
This
=
unknode_from_IXMLDOMNode
(
iface
);
return
IXMLDOMNode_get_ownerDocument
(
&
This
->
node
.
IXMLDOMNode_iface
,
domDocument
);
return
node_get_owner_doc
(
&
This
->
node
,
domDocument
);
}
static
HRESULT
WINAPI
unknode_cloneNode
(
...
...
dlls/msxml3/pi.c
View file @
2e5a0dd6
...
...
@@ -371,10 +371,11 @@ static HRESULT WINAPI dom_pi_hasChildNodes(
static
HRESULT
WINAPI
dom_pi_get_ownerDocument
(
IXMLDOMProcessingInstruction
*
iface
,
IXMLDOMDocument
**
domDocument
)
IXMLDOMDocument
**
doc
)
{
dom_pi
*
This
=
impl_from_IXMLDOMProcessingInstruction
(
iface
);
return
IXMLDOMNode_get_ownerDocument
(
&
This
->
node
.
IXMLDOMNode_iface
,
domDocument
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
doc
);
return
node_get_owner_doc
(
&
This
->
node
,
doc
);
}
static
HRESULT
WINAPI
dom_pi_cloneNode
(
...
...
dlls/msxml3/schema.c
View file @
2e5a0dd6
...
...
@@ -1163,7 +1163,7 @@ static HRESULT WINAPI schema_cache_get(IXMLDOMSchemaCollection2* iface, BSTR uri
/* TODO: this should be read-only */
if
(
entry
)
return
DOMDocument_create
_from_xmldoc
(
entry
->
doc
,
(
IXMLDOMDocument3
**
)
node
);
return
get_domdoc
_from_xmldoc
(
entry
->
doc
,
(
IXMLDOMDocument3
**
)
node
);
*
node
=
NULL
;
return
S_OK
;
...
...
dlls/msxml3/text.c
View file @
2e5a0dd6
...
...
@@ -370,10 +370,11 @@ static HRESULT WINAPI domtext_hasChildNodes(
static
HRESULT
WINAPI
domtext_get_ownerDocument
(
IXMLDOMText
*
iface
,
IXMLDOMDocument
**
domDocument
)
IXMLDOMDocument
**
doc
)
{
domtext
*
This
=
impl_from_IXMLDOMText
(
iface
);
return
IXMLDOMNode_get_ownerDocument
(
&
This
->
node
.
IXMLDOMNode_iface
,
domDocument
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
doc
);
return
node_get_owner_doc
(
&
This
->
node
,
doc
);
}
static
HRESULT
WINAPI
domtext_cloneNode
(
...
...
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