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
1e998bfc
Commit
1e998bfc
authored
Oct 31, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 01, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Get rid of ::get_baseName() forward.
parent
6556ad57
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
35 additions
and
49 deletions
+35
-49
attribute.c
dlls/msxml3/attribute.c
+3
-2
cdata.c
dlls/msxml3/cdata.c
+3
-2
comment.c
dlls/msxml3/comment.c
+3
-2
docfrag.c
dlls/msxml3/docfrag.c
+3
-2
domdoc.c
dlls/msxml3/domdoc.c
+3
-2
element.c
dlls/msxml3/element.c
+3
-2
entityref.c
dlls/msxml3/entityref.c
+3
-2
msxml_private.h
dlls/msxml3/msxml_private.h
+1
-0
node.c
dlls/msxml3/node.c
+7
-31
pi.c
dlls/msxml3/pi.c
+3
-2
text.c
dlls/msxml3/text.c
+3
-2
No files found.
dlls/msxml3/attribute.c
View file @
1e998bfc
...
...
@@ -506,10 +506,11 @@ static HRESULT WINAPI domattr_get_prefix(
static
HRESULT
WINAPI
domattr_get_baseName
(
IXMLDOMAttribute
*
iface
,
BSTR
*
p
)
BSTR
*
name
)
{
domattr
*
This
=
impl_from_IXMLDOMAttribute
(
iface
);
return
IXMLDOMNode_get_baseName
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
name
);
return
node_get_base_name
(
&
This
->
node
,
name
);
}
static
HRESULT
WINAPI
domattr_transformNodeToObject
(
...
...
dlls/msxml3/cdata.c
View file @
1e998bfc
...
...
@@ -517,10 +517,11 @@ static HRESULT WINAPI domcdata_get_prefix(
static
HRESULT
WINAPI
domcdata_get_baseName
(
IXMLDOMCDATASection
*
iface
,
BSTR
*
p
)
BSTR
*
name
)
{
domcdata
*
This
=
impl_from_IXMLDOMCDATASection
(
iface
);
return
IXMLDOMNode_get_baseName
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
p
);
FIXME
(
"(%p)->(%p): needs test
\n
"
,
This
,
name
);
return
return_null_bstr
(
name
);
}
static
HRESULT
WINAPI
domcdata_transformNodeToObject
(
...
...
dlls/msxml3/comment.c
View file @
1e998bfc
...
...
@@ -510,10 +510,11 @@ static HRESULT WINAPI domcomment_get_prefix(
static
HRESULT
WINAPI
domcomment_get_baseName
(
IXMLDOMComment
*
iface
,
BSTR
*
p
)
BSTR
*
name
)
{
domcomment
*
This
=
impl_from_IXMLDOMComment
(
iface
);
return
IXMLDOMNode_get_baseName
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
name
);
return
return_null_bstr
(
name
);
}
static
HRESULT
WINAPI
domcomment_transformNodeToObject
(
...
...
dlls/msxml3/docfrag.c
View file @
1e998bfc
...
...
@@ -514,10 +514,11 @@ static HRESULT WINAPI domfrag_get_prefix(
static
HRESULT
WINAPI
domfrag_get_baseName
(
IXMLDOMDocumentFragment
*
iface
,
BSTR
*
p
)
BSTR
*
name
)
{
domfrag
*
This
=
impl_from_IXMLDOMDocumentFragment
(
iface
);
return
IXMLDOMNode_get_baseName
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
p
);
FIXME
(
"(%p)->(%p): needs test
\n
"
,
This
,
name
);
return
return_null_bstr
(
name
);
}
static
HRESULT
WINAPI
domfrag_transformNodeToObject
(
...
...
dlls/msxml3/domdoc.c
View file @
1e998bfc
...
...
@@ -1341,10 +1341,11 @@ static HRESULT WINAPI domdoc_get_prefix(
static
HRESULT
WINAPI
domdoc_get_baseName
(
IXMLDOMDocument3
*
iface
,
BSTR
*
name
String
)
BSTR
*
name
)
{
domdoc
*
This
=
impl_from_IXMLDOMDocument3
(
iface
);
return
IXMLDOMNode_get_baseName
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
nameString
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
name
);
return
return_null_bstr
(
name
);
}
...
...
dlls/msxml3/element.c
View file @
1e998bfc
...
...
@@ -562,10 +562,11 @@ static HRESULT WINAPI domelem_get_prefix(
static
HRESULT
WINAPI
domelem_get_baseName
(
IXMLDOMElement
*
iface
,
BSTR
*
p
)
BSTR
*
name
)
{
domelem
*
This
=
impl_from_IXMLDOMElement
(
iface
);
return
IXMLDOMNode_get_baseName
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
name
);
return
node_get_base_name
(
&
This
->
node
,
name
);
}
static
HRESULT
WINAPI
domelem_transformNodeToObject
(
...
...
dlls/msxml3/entityref.c
View file @
1e998bfc
...
...
@@ -508,10 +508,11 @@ static HRESULT WINAPI entityref_get_prefix(
static
HRESULT
WINAPI
entityref_get_baseName
(
IXMLDOMEntityReference
*
iface
,
BSTR
*
p
)
BSTR
*
name
)
{
entityref
*
This
=
impl_from_IXMLDOMEntityReference
(
iface
);
return
IXMLDOMNode_get_baseName
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
p
);
FIXME
(
"(%p)->(%p): needs test
\n
"
,
This
,
name
);
return
return_null_bstr
(
name
);
}
static
HRESULT
WINAPI
entityref_transformNodeToObject
(
...
...
dlls/msxml3/msxml_private.h
View file @
1e998bfc
...
...
@@ -194,6 +194,7 @@ extern HRESULT node_put_text(xmlnode*,BSTR);
extern
HRESULT
node_get_xml
(
xmlnode
*
,
BOOL
,
BOOL
,
BSTR
*
);
extern
HRESULT
node_clone
(
xmlnode
*
,
VARIANT_BOOL
,
IXMLDOMNode
**
);
extern
HRESULT
node_get_prefix
(
xmlnode
*
,
BSTR
*
);
extern
HRESULT
node_get_base_name
(
xmlnode
*
,
BSTR
*
);
extern
HRESULT
DOMDocument_create_from_xmldoc
(
xmlDocPtr
xmldoc
,
IXMLDOMDocument3
**
document
);
...
...
dlls/msxml3/node.c
View file @
1e998bfc
...
...
@@ -1170,40 +1170,16 @@ HRESULT node_get_prefix(xmlnode *This, BSTR *prefix)
return
*
prefix
?
S_OK
:
S_FALSE
;
}
static
HRESULT
WINAPI
xmlnode_get_baseName
(
IXMLDOMNode
*
iface
,
BSTR
*
nameString
)
HRESULT
node_get_base_name
(
xmlnode
*
This
,
BSTR
*
name
)
{
xmlnode
*
This
=
impl_from_IXMLDOMNode
(
iface
);
BSTR
str
=
NULL
;
HRESULT
r
=
S_FALSE
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
nameString
);
if
(
!
nameString
)
return
E_INVALIDARG
;
if
(
!
name
)
return
E_INVALIDARG
;
switch
(
This
->
node
->
type
)
{
case
XML_ELEMENT_NODE
:
case
XML_ATTRIBUTE_NODE
:
case
XML_PI_NODE
:
str
=
bstr_from_xmlChar
(
This
->
node
->
name
);
r
=
S_OK
;
break
;
case
XML_TEXT_NODE
:
case
XML_COMMENT_NODE
:
case
XML_DOCUMENT_NODE
:
break
;
default:
ERR
(
"Unhandled type %d
\n
"
,
This
->
node
->
type
);
break
;
}
*
name
=
bstr_from_xmlChar
(
This
->
node
->
name
);
if
(
!*
name
)
return
E_OUTOFMEMORY
;
TRACE
(
"returning %
08x str = %s
\n
"
,
r
,
debugstr_w
(
str
)
);
TRACE
(
"returning %
s
\n
"
,
debugstr_w
(
*
name
)
);
*
nameString
=
str
;
return
r
;
return
S_OK
;
}
static
HRESULT
WINAPI
xmlnode_transformNodeToObject
(
...
...
@@ -1259,7 +1235,7 @@ static const struct IXMLDOMNodeVtbl xmlnode_vtbl =
NULL
,
xmlnode_get_namespaceURI
,
NULL
,
xmlnode_get_baseName
,
NULL
,
xmlnode_transformNodeToObject
,
};
...
...
dlls/msxml3/pi.c
View file @
1e998bfc
...
...
@@ -524,10 +524,11 @@ static HRESULT WINAPI dom_pi_get_prefix(
static
HRESULT
WINAPI
dom_pi_get_baseName
(
IXMLDOMProcessingInstruction
*
iface
,
BSTR
*
p
)
BSTR
*
name
)
{
dom_pi
*
This
=
impl_from_IXMLDOMProcessingInstruction
(
iface
);
return
IXMLDOMNode_get_baseName
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
name
);
return
node_get_base_name
(
&
This
->
node
,
name
);
}
static
HRESULT
WINAPI
dom_pi_transformNodeToObject
(
...
...
dlls/msxml3/text.c
View file @
1e998bfc
...
...
@@ -523,10 +523,11 @@ static HRESULT WINAPI domtext_get_prefix(
static
HRESULT
WINAPI
domtext_get_baseName
(
IXMLDOMText
*
iface
,
BSTR
*
p
)
BSTR
*
name
)
{
domtext
*
This
=
impl_from_IXMLDOMText
(
iface
);
return
IXMLDOMNode_get_baseName
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
name
);
return
return_null_bstr
(
name
);
}
static
HRESULT
WINAPI
domtext_transformNodeToObject
(
...
...
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