Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d0bff37c
Commit
d0bff37c
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_text() forward.
parent
2e5a0dd6
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
29 additions
and
25 deletions
+29
-25
attribute.c
dlls/msxml3/attribute.c
+2
-1
cdata.c
dlls/msxml3/cdata.c
+2
-1
comment.c
dlls/msxml3/comment.c
+2
-1
docfrag.c
dlls/msxml3/docfrag.c
+2
-1
domdoc.c
dlls/msxml3/domdoc.c
+3
-2
element.c
dlls/msxml3/element.c
+2
-1
entityref.c
dlls/msxml3/entityref.c
+2
-1
msxml_private.h
dlls/msxml3/msxml_private.h
+1
-0
node.c
dlls/msxml3/node.c
+9
-15
pi.c
dlls/msxml3/pi.c
+2
-1
text.c
dlls/msxml3/text.c
+2
-1
No files found.
dlls/msxml3/attribute.c
View file @
d0bff37c
...
...
@@ -386,7 +386,8 @@ static HRESULT WINAPI domattr_get_text(
BSTR
*
p
)
{
domattr
*
This
=
impl_from_IXMLDOMAttribute
(
iface
);
return
IXMLDOMNode_get_text
(
&
This
->
node
.
IXMLDOMNode_iface
,
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
node_get_text
(
&
This
->
node
,
p
);
}
static
HRESULT
WINAPI
domattr_put_text
(
...
...
dlls/msxml3/cdata.c
View file @
d0bff37c
...
...
@@ -397,7 +397,8 @@ static HRESULT WINAPI domcdata_get_text(
BSTR
*
p
)
{
domcdata
*
This
=
impl_from_IXMLDOMCDATASection
(
iface
);
return
IXMLDOMNode_get_text
(
&
This
->
node
.
IXMLDOMNode_iface
,
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
node_get_text
(
&
This
->
node
,
p
);
}
static
HRESULT
WINAPI
domcdata_put_text
(
...
...
dlls/msxml3/comment.c
View file @
d0bff37c
...
...
@@ -390,7 +390,8 @@ static HRESULT WINAPI domcomment_get_text(
BSTR
*
p
)
{
domcomment
*
This
=
impl_from_IXMLDOMComment
(
iface
);
return
IXMLDOMNode_get_text
(
&
This
->
node
.
IXMLDOMNode_iface
,
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
node_get_text
(
&
This
->
node
,
p
);
}
static
HRESULT
WINAPI
domcomment_put_text
(
...
...
dlls/msxml3/docfrag.c
View file @
d0bff37c
...
...
@@ -394,7 +394,8 @@ static HRESULT WINAPI domfrag_get_text(
BSTR
*
p
)
{
domfrag
*
This
=
impl_from_IXMLDOMDocumentFragment
(
iface
);
return
IXMLDOMNode_get_text
(
&
This
->
node
.
IXMLDOMNode_iface
,
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
node_get_text
(
&
This
->
node
,
p
);
}
static
HRESULT
WINAPI
domfrag_put_text
(
...
...
dlls/msxml3/domdoc.c
View file @
d0bff37c
...
...
@@ -1283,10 +1283,11 @@ static HRESULT WINAPI domdoc_get_nodeTypeString(
static
HRESULT
WINAPI
domdoc_get_text
(
IXMLDOMDocument3
*
iface
,
BSTR
*
text
)
BSTR
*
p
)
{
domdoc
*
This
=
impl_from_IXMLDOMDocument3
(
iface
);
return
IXMLDOMNode_get_text
(
&
This
->
node
.
IXMLDOMNode_iface
,
text
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
node_get_text
(
&
This
->
node
,
p
);
}
...
...
dlls/msxml3/element.c
View file @
d0bff37c
...
...
@@ -405,7 +405,8 @@ static HRESULT WINAPI domelem_get_text(
BSTR
*
p
)
{
domelem
*
This
=
impl_from_IXMLDOMElement
(
iface
);
return
IXMLDOMNode_get_text
(
&
This
->
node
.
IXMLDOMNode_iface
,
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
node_get_text
(
&
This
->
node
,
p
);
}
static
HRESULT
WINAPI
domelem_put_text
(
...
...
dlls/msxml3/entityref.c
View file @
d0bff37c
...
...
@@ -388,7 +388,8 @@ static HRESULT WINAPI entityref_get_text(
BSTR
*
p
)
{
entityref
*
This
=
impl_from_IXMLDOMEntityReference
(
iface
);
return
IXMLDOMNode_get_text
(
&
This
->
node
.
IXMLDOMNode_iface
,
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
node_get_text
(
&
This
->
node
,
p
);
}
static
HRESULT
WINAPI
entityref_put_text
(
...
...
dlls/msxml3/msxml_private.h
View file @
d0bff37c
...
...
@@ -275,6 +275,7 @@ 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
node_get_text
(
const
xmlnode
*
,
BSTR
*
);
extern
HRESULT
get_domdoc_from_xmldoc
(
xmlDocPtr
xmldoc
,
IXMLDOMDocument3
**
document
);
...
...
dlls/msxml3/node.c
View file @
d0bff37c
...
...
@@ -583,24 +583,18 @@ static xmlChar* do_get_text(xmlNodePtr node)
return
str
;
}
static
HRESULT
WINAPI
xmlnode_get_text
(
IXMLDOMNode
*
iface
,
BSTR
*
text
)
HRESULT
node_get_text
(
const
xmlnode
*
This
,
BSTR
*
text
)
{
xmlnode
*
This
=
impl_from_IXMLDOMNode
(
iface
);
BSTR
str
=
NULL
;
xmlChar
*
pContent
;
TRACE
(
"(%p, type %d)->(%p)
\n
"
,
This
,
This
->
node
->
type
,
text
);
xmlChar
*
content
;
if
(
!
text
)
return
E_INVALIDARG
;
if
(
!
text
)
return
E_INVALIDARG
;
pContent
=
do_get_text
((
xmlNodePtr
)
This
->
node
);
if
(
pC
ontent
)
content
=
do_get_text
(
This
->
node
);
if
(
c
ontent
)
{
str
=
bstr_from_xmlChar
(
pC
ontent
);
xmlFree
(
pC
ontent
);
str
=
bstr_from_xmlChar
(
c
ontent
);
xmlFree
(
c
ontent
);
}
/* Always return a string. */
...
...
@@ -1134,7 +1128,7 @@ static const struct IXMLDOMNodeVtbl xmlnode_vtbl =
NULL
,
NULL
,
NULL
,
xmlnode_get_text
,
NULL
,
NULL
,
NULL
,
NULL
,
...
...
@@ -1521,7 +1515,7 @@ static HRESULT WINAPI unknode_get_text(
BSTR
*
p
)
{
unknode
*
This
=
unknode_from_IXMLDOMNode
(
iface
);
return
IXMLDOMNode_get_text
(
&
This
->
node
.
IXMLDOMNode_iface
,
p
);
return
node_get_text
(
&
This
->
node
,
p
);
}
static
HRESULT
WINAPI
unknode_put_text
(
...
...
dlls/msxml3/pi.c
View file @
d0bff37c
...
...
@@ -405,7 +405,8 @@ static HRESULT WINAPI dom_pi_get_text(
BSTR
*
p
)
{
dom_pi
*
This
=
impl_from_IXMLDOMProcessingInstruction
(
iface
);
return
IXMLDOMNode_get_text
(
&
This
->
node
.
IXMLDOMNode_iface
,
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
node_get_text
(
&
This
->
node
,
p
);
}
static
HRESULT
WINAPI
dom_pi_put_text
(
...
...
dlls/msxml3/text.c
View file @
d0bff37c
...
...
@@ -403,7 +403,8 @@ static HRESULT WINAPI domtext_get_text(
BSTR
*
p
)
{
domtext
*
This
=
impl_from_IXMLDOMText
(
iface
);
return
IXMLDOMNode_get_text
(
&
This
->
node
.
IXMLDOMNode_iface
,
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
node_get_text
(
&
This
->
node
,
p
);
}
static
HRESULT
WINAPI
domtext_put_text
(
...
...
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