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
b2214981
Commit
b2214981
authored
Oct 19, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 19, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Get rid of ::put_text() forward to IXMLDOMNode interface.
parent
0f19df8b
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
28 additions
and
21 deletions
+28
-21
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
+2
-1
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
-12
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 @
b2214981
...
...
@@ -385,7 +385,8 @@ static HRESULT WINAPI domattr_put_text(
BSTR
p
)
{
domattr
*
This
=
impl_from_IXMLDOMAttribute
(
iface
);
return
IXMLDOMNode_put_text
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
p
);
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
p
));
return
node_put_text
(
&
This
->
node
,
p
);
}
static
HRESULT
WINAPI
domattr_get_specified
(
...
...
dlls/msxml3/cdata.c
View file @
b2214981
...
...
@@ -396,7 +396,8 @@ static HRESULT WINAPI domcdata_put_text(
BSTR
p
)
{
domcdata
*
This
=
impl_from_IXMLDOMCDATASection
(
iface
);
return
IXMLDOMNode_put_text
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
debugstr_w
(
p
));
return
node_put_text
(
&
This
->
node
,
p
);
}
static
HRESULT
WINAPI
domcdata_get_specified
(
...
...
dlls/msxml3/comment.c
View file @
b2214981
...
...
@@ -389,7 +389,8 @@ static HRESULT WINAPI domcomment_put_text(
BSTR
p
)
{
domcomment
*
This
=
impl_from_IXMLDOMComment
(
iface
);
return
IXMLDOMNode_put_text
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
p
);
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
p
));
return
node_put_text
(
&
This
->
node
,
p
);
}
static
HRESULT
WINAPI
domcomment_get_specified
(
...
...
dlls/msxml3/docfrag.c
View file @
b2214981
...
...
@@ -393,7 +393,8 @@ static HRESULT WINAPI domfrag_put_text(
BSTR
p
)
{
domfrag
*
This
=
impl_from_IXMLDOMDocumentFragment
(
iface
);
return
IXMLDOMNode_put_text
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
p
);
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
p
));
return
node_put_text
(
&
This
->
node
,
p
);
}
static
HRESULT
WINAPI
domfrag_get_specified
(
...
...
dlls/msxml3/domdoc.c
View file @
b2214981
...
...
@@ -1113,7 +1113,8 @@ static HRESULT WINAPI domdoc_put_text(
BSTR
text
)
{
domdoc
*
This
=
impl_from_IXMLDOMDocument3
(
iface
);
return
IXMLDOMNode_put_text
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
text
);
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
text
));
return
E_FAIL
;
}
...
...
dlls/msxml3/element.c
View file @
b2214981
...
...
@@ -401,7 +401,8 @@ static HRESULT WINAPI domelem_put_text(
BSTR
p
)
{
domelem
*
This
=
impl_from_IXMLDOMElement
(
iface
);
return
IXMLDOMNode_put_text
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
p
);
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
p
));
return
node_put_text
(
&
This
->
node
,
p
);
}
static
HRESULT
WINAPI
domelem_get_specified
(
...
...
dlls/msxml3/entityref.c
View file @
b2214981
...
...
@@ -387,7 +387,8 @@ static HRESULT WINAPI entityref_put_text(
BSTR
p
)
{
entityref
*
This
=
impl_from_IXMLDOMEntityReference
(
iface
);
return
IXMLDOMNode_put_text
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
p
);
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
p
));
return
node_put_text
(
&
This
->
node
,
p
);
}
static
HRESULT
WINAPI
entityref_get_specified
(
...
...
dlls/msxml3/msxml_private.h
View file @
b2214981
...
...
@@ -171,6 +171,7 @@ extern HRESULT node_get_previous_sibling(xmlnode*,IXMLDOMNode**);
extern
HRESULT
node_get_next_sibling
(
xmlnode
*
,
IXMLDOMNode
**
);
extern
HRESULT
node_insert_before
(
xmlnode
*
,
IXMLDOMNode
*
,
const
VARIANT
*
,
IXMLDOMNode
**
);
extern
HRESULT
node_replace_child
(
xmlnode
*
,
IXMLDOMNode
*
,
IXMLDOMNode
*
,
IXMLDOMNode
**
);
extern
HRESULT
node_put_text
(
xmlnode
*
,
BSTR
);
extern
HRESULT
DOMDocument_create_from_xmldoc
(
xmlDocPtr
xmldoc
,
IXMLDOMDocument3
**
document
);
...
...
dlls/msxml3/node.c
View file @
b2214981
...
...
@@ -745,23 +745,12 @@ static HRESULT WINAPI xmlnode_get_text(
return
S_OK
;
}
static
HRESULT
WINAPI
xmlnode_put_text
(
IXMLDOMNode
*
iface
,
BSTR
text
)
HRESULT
node_put_text
(
xmlnode
*
This
,
BSTR
text
)
{
xmlnode
*
This
=
impl_from_IXMLDOMNode
(
iface
);
xmlChar
*
str
,
*
str2
;
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
text
));
switch
(
This
->
node
->
type
)
{
case
XML_DOCUMENT_NODE
:
return
E_FAIL
;
default:
break
;
}
str
=
xmlChar_from_wchar
(
text
);
/* Escape the string. */
...
...
@@ -774,6 +763,14 @@ static HRESULT WINAPI xmlnode_put_text(
return
S_OK
;
}
static
HRESULT
WINAPI
xmlnode_put_text
(
IXMLDOMNode
*
iface
,
BSTR
text
)
{
ERR
(
"Should not be called
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
xmlnode_get_specified
(
IXMLDOMNode
*
iface
,
VARIANT_BOOL
*
isSpecified
)
...
...
dlls/msxml3/pi.c
View file @
b2214981
...
...
@@ -403,7 +403,8 @@ static HRESULT WINAPI dom_pi_put_text(
BSTR
p
)
{
dom_pi
*
This
=
impl_from_IXMLDOMProcessingInstruction
(
iface
);
return
IXMLDOMNode_put_text
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
p
);
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
p
));
return
node_put_text
(
&
This
->
node
,
p
);
}
static
HRESULT
WINAPI
dom_pi_get_specified
(
...
...
dlls/msxml3/text.c
View file @
b2214981
...
...
@@ -402,7 +402,8 @@ static HRESULT WINAPI domtext_put_text(
BSTR
p
)
{
domtext
*
This
=
impl_from_IXMLDOMText
(
iface
);
return
IXMLDOMNode_put_text
(
IXMLDOMNode_from_impl
(
&
This
->
node
),
p
);
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
p
));
return
node_put_text
(
&
This
->
node
,
p
);
}
static
HRESULT
WINAPI
domtext_get_specified
(
...
...
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