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
e9ebd8c9
Commit
e9ebd8c9
authored
Sep 10, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 13, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Don't use xmlnode's IXMLDOMNode iface in get_attributes implementations.
parent
55175042
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
53 additions
and
35 deletions
+53
-35
attribute.c
dlls/msxml3/attribute.c
+4
-1
cdata.c
dlls/msxml3/cdata.c
+5
-2
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
+5
-1
entityref.c
dlls/msxml3/entityref.c
+4
-1
msxml_private.h
dlls/msxml3/msxml_private.h
+8
-0
node.c
dlls/msxml3/node.c
+6
-25
pi.c
dlls/msxml3/pi.c
+5
-1
text.c
dlls/msxml3/text.c
+4
-1
No files found.
dlls/msxml3/attribute.c
View file @
e9ebd8c9
...
...
@@ -293,7 +293,10 @@ static HRESULT WINAPI domattr_get_attributes(
IXMLDOMNamedNodeMap
**
attributeMap
)
{
domattr
*
This
=
impl_from_IXMLDOMAttribute
(
iface
);
return
IXMLDOMNode_get_attributes
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
attributeMap
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
attributeMap
);
return
return_null_ptr
((
void
**
)
attributeMap
);
}
static
HRESULT
WINAPI
domattr_insertBefore
(
...
...
dlls/msxml3/cdata.c
View file @
e9ebd8c9
...
...
@@ -303,8 +303,11 @@ static HRESULT WINAPI domcdata_get_attributes(
IXMLDOMCDATASection
*
iface
,
IXMLDOMNamedNodeMap
**
attributeMap
)
{
domcdata
*
This
=
impl_from_IXMLDOMCDATASection
(
iface
);
return
IXMLDOMNode_get_attributes
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
attributeMap
);
domcdata
*
This
=
impl_from_IXMLDOMCDATASection
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
attributeMap
);
return
return_null_ptr
((
void
**
)
attributeMap
);
}
static
HRESULT
WINAPI
domcdata_insertBefore
(
...
...
dlls/msxml3/comment.c
View file @
e9ebd8c9
...
...
@@ -297,7 +297,10 @@ static HRESULT WINAPI domcomment_get_attributes(
IXMLDOMNamedNodeMap
**
attributeMap
)
{
domcomment
*
This
=
impl_from_IXMLDOMComment
(
iface
);
return
IXMLDOMNode_get_attributes
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
attributeMap
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
attributeMap
);
return
return_null_ptr
((
void
**
)
attributeMap
);
}
static
HRESULT
WINAPI
domcomment_insertBefore
(
...
...
dlls/msxml3/docfrag.c
View file @
e9ebd8c9
...
...
@@ -299,7 +299,10 @@ static HRESULT WINAPI domfrag_get_attributes(
IXMLDOMNamedNodeMap
**
attributeMap
)
{
domfrag
*
This
=
impl_from_IXMLDOMDocumentFragment
(
iface
);
return
IXMLDOMNode_get_attributes
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
attributeMap
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
attributeMap
);
return
return_null_ptr
((
void
**
)
attributeMap
);
}
static
HRESULT
WINAPI
domfrag_insertBefore
(
...
...
dlls/msxml3/domdoc.c
View file @
e9ebd8c9
...
...
@@ -812,7 +812,10 @@ static HRESULT WINAPI domdoc_get_attributes(
IXMLDOMNamedNodeMap
**
attributeMap
)
{
domdoc
*
This
=
impl_from_IXMLDOMDocument3
(
iface
);
return
IXMLDOMNode_get_attributes
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
attributeMap
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
attributeMap
);
return
return_null_ptr
((
void
**
)
attributeMap
);
}
...
...
dlls/msxml3/element.c
View file @
e9ebd8c9
...
...
@@ -308,7 +308,11 @@ static HRESULT WINAPI domelem_get_attributes(
IXMLDOMNamedNodeMap
**
attributeMap
)
{
domelem
*
This
=
impl_from_IXMLDOMElement
(
iface
);
return
IXMLDOMNode_get_attributes
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
attributeMap
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
attributeMap
);
*
attributeMap
=
create_nodemap
((
IXMLDOMNode
*
)
&
This
->
lpVtbl
);
return
S_OK
;
}
static
HRESULT
WINAPI
domelem_insertBefore
(
...
...
dlls/msxml3/entityref.c
View file @
e9ebd8c9
...
...
@@ -295,7 +295,10 @@ static HRESULT WINAPI entityref_get_attributes(
IXMLDOMNamedNodeMap
**
attributeMap
)
{
entityref
*
This
=
impl_from_IXMLDOMEntityReference
(
iface
);
return
IXMLDOMNode_get_attributes
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
attributeMap
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
attributeMap
);
return
return_null_ptr
((
void
**
)
attributeMap
);
}
static
HRESULT
WINAPI
entityref_insertBefore
(
...
...
dlls/msxml3/msxml_private.h
View file @
e9ebd8c9
...
...
@@ -212,6 +212,14 @@ static inline HRESULT return_null_node(IXMLDOMNode **p)
return
S_FALSE
;
}
static
inline
HRESULT
return_null_ptr
(
void
**
p
)
{
if
(
!
p
)
return
E_INVALIDARG
;
*
p
=
NULL
;
return
S_FALSE
;
}
#endif
void
*
libxslt_handle
;
...
...
dlls/msxml3/node.c
View file @
e9ebd8c9
...
...
@@ -369,30 +369,8 @@ static HRESULT WINAPI xmlnode_get_attributes(
IXMLDOMNode
*
iface
,
IXMLDOMNamedNodeMap
**
attributeMap
)
{
xmlnode
*
This
=
impl_from_IXMLDOMNode
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
attributeMap
);
if
(
!
attributeMap
)
return
E_INVALIDARG
;
switch
(
This
->
node
->
type
)
{
/* Attribute, CDataSection, Comment, Documents, Documents Fragments,
Entity and Text Nodes does not support get_attributes */
case
XML_ATTRIBUTE_NODE
:
case
XML_CDATA_SECTION_NODE
:
case
XML_COMMENT_NODE
:
case
XML_DOCUMENT_NODE
:
case
XML_DOCUMENT_FRAG_NODE
:
case
XML_ENTITY_NODE
:
case
XML_ENTITY_REF_NODE
:
case
XML_TEXT_NODE
:
*
attributeMap
=
NULL
;
return
S_FALSE
;
default:
*
attributeMap
=
create_nodemap
(
This
->
iface
);
return
S_OK
;
}
ERR
(
"Should not be called
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
xmlnode_insertBefore
(
...
...
@@ -1852,7 +1830,10 @@ static HRESULT WINAPI unknode_get_attributes(
IXMLDOMNamedNodeMap
**
attributeMap
)
{
unknode
*
This
=
impl_from_unkIXMLDOMNode
(
iface
);
return
IXMLDOMNode_get_attributes
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
attributeMap
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
attributeMap
);
return
return_null_ptr
((
void
**
)
attributeMap
);
}
static
HRESULT
WINAPI
unknode_insertBefore
(
...
...
dlls/msxml3/pi.c
View file @
e9ebd8c9
...
...
@@ -310,7 +310,11 @@ static HRESULT WINAPI dom_pi_get_attributes(
IXMLDOMNamedNodeMap
**
attributeMap
)
{
dom_pi
*
This
=
impl_from_IXMLDOMProcessingInstruction
(
iface
);
return
IXMLDOMNode_get_attributes
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
attributeMap
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
attributeMap
);
*
attributeMap
=
create_nodemap
((
IXMLDOMNode
*
)
&
This
->
lpVtbl
);
return
S_OK
;
}
static
HRESULT
WINAPI
dom_pi_insertBefore
(
...
...
dlls/msxml3/text.c
View file @
e9ebd8c9
...
...
@@ -310,7 +310,10 @@ static HRESULT WINAPI domtext_get_attributes(
IXMLDOMNamedNodeMap
**
attributeMap
)
{
domtext
*
This
=
impl_from_IXMLDOMText
(
iface
);
return
IXMLDOMNode_get_attributes
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
attributeMap
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
attributeMap
);
return
return_null_ptr
((
void
**
)
attributeMap
);
}
static
HRESULT
WINAPI
domtext_insertBefore
(
...
...
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