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
c8b15e90
Commit
c8b15e90
authored
Sep 08, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 08, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Don't use xmlnode's IXMLDOMNode iface in get_childNode implementations.
parent
ed2b7224
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
54 additions
and
20 deletions
+54
-20
attribute.c
dlls/msxml3/attribute.c
+4
-1
cdata.c
dlls/msxml3/cdata.c
+4
-1
comment.c
dlls/msxml3/comment.c
+4
-1
docfrag.c
dlls/msxml3/docfrag.c
+4
-1
domdoc.c
dlls/msxml3/domdoc.c
+4
-1
element.c
dlls/msxml3/element.c
+4
-1
entityref.c
dlls/msxml3/entityref.c
+4
-1
msxml_private.h
dlls/msxml3/msxml_private.h
+2
-0
node.c
dlls/msxml3/node.c
+16
-11
pi.c
dlls/msxml3/pi.c
+4
-1
text.c
dlls/msxml3/text.c
+4
-1
No files found.
dlls/msxml3/attribute.c
View file @
c8b15e90
...
...
@@ -238,7 +238,10 @@ static HRESULT WINAPI domattr_get_childNodes(
IXMLDOMNodeList
**
outList
)
{
domattr
*
This
=
impl_from_IXMLDOMAttribute
(
iface
);
return
IXMLDOMNode_get_childNodes
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
outList
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
outList
);
return
node_get_child_nodes
(
&
This
->
node
,
outList
);
}
static
HRESULT
WINAPI
domattr_get_firstChild
(
...
...
dlls/msxml3/cdata.c
View file @
c8b15e90
...
...
@@ -249,7 +249,10 @@ static HRESULT WINAPI domcdata_get_childNodes(
IXMLDOMNodeList
**
outList
)
{
domcdata
*
This
=
impl_from_IXMLDOMCDATASection
(
iface
);
return
IXMLDOMNode_get_childNodes
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
outList
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
outList
);
return
node_get_child_nodes
(
&
This
->
node
,
outList
);
}
static
HRESULT
WINAPI
domcdata_get_firstChild
(
...
...
dlls/msxml3/comment.c
View file @
c8b15e90
...
...
@@ -242,7 +242,10 @@ static HRESULT WINAPI domcomment_get_childNodes(
IXMLDOMNodeList
**
outList
)
{
domcomment
*
This
=
impl_from_IXMLDOMComment
(
iface
);
return
IXMLDOMNode_get_childNodes
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
outList
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
outList
);
return
node_get_child_nodes
(
&
This
->
node
,
outList
);
}
static
HRESULT
WINAPI
domcomment_get_firstChild
(
...
...
dlls/msxml3/docfrag.c
View file @
c8b15e90
...
...
@@ -244,7 +244,10 @@ static HRESULT WINAPI domfrag_get_childNodes(
IXMLDOMNodeList
**
outList
)
{
domfrag
*
This
=
impl_from_IXMLDOMDocumentFragment
(
iface
);
return
IXMLDOMNode_get_childNodes
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
outList
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
outList
);
return
node_get_child_nodes
(
&
This
->
node
,
outList
);
}
static
HRESULT
WINAPI
domfrag_get_firstChild
(
...
...
dlls/msxml3/domdoc.c
View file @
c8b15e90
...
...
@@ -752,7 +752,10 @@ static HRESULT WINAPI domdoc_get_childNodes(
IXMLDOMNodeList
**
childList
)
{
domdoc
*
This
=
impl_from_IXMLDOMDocument3
(
iface
);
return
IXMLDOMNode_get_childNodes
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
childList
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
childList
);
return
node_get_child_nodes
(
&
This
->
node
,
childList
);
}
...
...
dlls/msxml3/element.c
View file @
c8b15e90
...
...
@@ -253,7 +253,10 @@ static HRESULT WINAPI domelem_get_childNodes(
IXMLDOMNodeList
**
outList
)
{
domelem
*
This
=
impl_from_IXMLDOMElement
(
iface
);
return
IXMLDOMNode_get_childNodes
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
outList
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
outList
);
return
node_get_child_nodes
(
&
This
->
node
,
outList
);
}
static
HRESULT
WINAPI
domelem_get_firstChild
(
...
...
dlls/msxml3/entityref.c
View file @
c8b15e90
...
...
@@ -240,7 +240,10 @@ static HRESULT WINAPI entityref_get_childNodes(
IXMLDOMNodeList
**
outList
)
{
entityref
*
This
=
impl_from_IXMLDOMEntityReference
(
iface
);
return
IXMLDOMNode_get_childNodes
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
outList
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
outList
);
return
node_get_child_nodes
(
&
This
->
node
,
outList
);
}
static
HRESULT
WINAPI
entityref_get_firstChild
(
...
...
dlls/msxml3/msxml_private.h
View file @
c8b15e90
...
...
@@ -163,6 +163,8 @@ extern HRESULT node_get_nodeName(xmlnode*,BSTR*);
extern
HRESULT
node_get_content
(
xmlnode
*
,
VARIANT
*
);
extern
HRESULT
node_put_value
(
xmlnode
*
,
VARIANT
*
);
extern
HRESULT
node_get_parent
(
xmlnode
*
,
IXMLDOMNode
**
);
extern
HRESULT
node_get_child_nodes
(
xmlnode
*
,
IXMLDOMNodeList
**
);
extern
HRESULT
DOMDocument_create_from_xmldoc
(
xmlDocPtr
xmldoc
,
IXMLDOMDocument3
**
document
);
...
...
dlls/msxml3/node.c
View file @
c8b15e90
...
...
@@ -293,24 +293,26 @@ static HRESULT WINAPI xmlnode_get_parentNode(
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
xmlnode_get_childNodes
(
IXMLDOMNode
*
iface
,
IXMLDOMNodeList
**
childList
)
HRESULT
node_get_child_nodes
(
xmlnode
*
This
,
IXMLDOMNodeList
**
ret
)
{
xmlnode
*
This
=
impl_from_IXMLDOMNode
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
childList
);
if
(
!
childList
)
if
(
!
ret
)
return
E_INVALIDARG
;
*
childLis
t
=
create_children_nodelist
(
This
->
node
);
if
(
*
childList
==
NULL
)
*
re
t
=
create_children_nodelist
(
This
->
node
);
if
(
!*
ret
)
return
E_OUTOFMEMORY
;
return
S_OK
;
}
static
HRESULT
WINAPI
xmlnode_get_childNodes
(
IXMLDOMNode
*
iface
,
IXMLDOMNodeList
**
childList
)
{
ERR
(
"Should not be called
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
xmlnode_get_firstChild
(
IXMLDOMNode
*
iface
,
IXMLDOMNode
**
firstChild
)
...
...
@@ -1825,7 +1827,10 @@ static HRESULT WINAPI unknode_get_childNodes(
IXMLDOMNodeList
**
outList
)
{
unknode
*
This
=
impl_from_unkIXMLDOMNode
(
iface
);
return
IXMLDOMNode_get_childNodes
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
outList
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
outList
);
return
node_get_child_nodes
(
&
This
->
node
,
outList
);
}
static
HRESULT
WINAPI
unknode_get_firstChild
(
...
...
dlls/msxml3/pi.c
View file @
c8b15e90
...
...
@@ -255,7 +255,10 @@ static HRESULT WINAPI dom_pi_get_childNodes(
IXMLDOMNodeList
**
outList
)
{
dom_pi
*
This
=
impl_from_IXMLDOMProcessingInstruction
(
iface
);
return
IXMLDOMNode_get_childNodes
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
outList
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
outList
);
return
node_get_child_nodes
(
&
This
->
node
,
outList
);
}
static
HRESULT
WINAPI
dom_pi_get_firstChild
(
...
...
dlls/msxml3/text.c
View file @
c8b15e90
...
...
@@ -255,7 +255,10 @@ static HRESULT WINAPI domtext_get_childNodes(
IXMLDOMNodeList
**
outList
)
{
domtext
*
This
=
impl_from_IXMLDOMText
(
iface
);
return
IXMLDOMNode_get_childNodes
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
outList
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
outList
);
return
node_get_child_nodes
(
&
This
->
node
,
outList
);
}
static
HRESULT
WINAPI
domtext_get_firstChild
(
...
...
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