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
6cc0e706
Commit
6cc0e706
authored
May 06, 2013
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 06, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Always return False for nodes that can't have children.
parent
0403f34b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
3 deletions
+12
-3
cdata.c
dlls/msxml3/cdata.c
+1
-1
comment.c
dlls/msxml3/comment.c
+1
-1
msxml_private.h
dlls/msxml3/msxml_private.h
+9
-0
text.c
dlls/msxml3/text.c
+1
-1
No files found.
dlls/msxml3/cdata.c
View file @
6cc0e706
...
...
@@ -333,7 +333,7 @@ static HRESULT WINAPI domcdata_hasChildNodes(
{
domcdata
*
This
=
impl_from_IXMLDOMCDATASection
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
ret
);
return
node_has_childnodes
(
&
This
->
node
,
ret
);
return
return_var_false
(
ret
);
}
static
HRESULT
WINAPI
domcdata_get_ownerDocument
(
...
...
dlls/msxml3/comment.c
View file @
6cc0e706
...
...
@@ -332,7 +332,7 @@ static HRESULT WINAPI domcomment_hasChildNodes(
{
domcomment
*
This
=
impl_from_IXMLDOMComment
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
ret
);
return
node_has_childnodes
(
&
This
->
node
,
ret
);
return
return_var_false
(
ret
);
}
static
HRESULT
WINAPI
domcomment_get_ownerDocument
(
...
...
dlls/msxml3/msxml_private.h
View file @
6cc0e706
...
...
@@ -475,6 +475,15 @@ static inline HRESULT return_null_bstr(BSTR *p)
return
S_FALSE
;
}
static
inline
HRESULT
return_var_false
(
VARIANT_BOOL
*
p
)
{
if
(
!
p
)
return
E_INVALIDARG
;
*
p
=
VARIANT_FALSE
;
return
S_FALSE
;
}
extern
IXMLDOMParseError
*
create_parseError
(
LONG
code
,
BSTR
url
,
BSTR
reason
,
BSTR
srcText
,
LONG
line
,
LONG
linepos
,
LONG
filepos
)
DECLSPEC_HIDDEN
;
extern
HRESULT
DOMDocument_create
(
MSXML_VERSION
,
IUnknown
*
,
void
**
)
DECLSPEC_HIDDEN
;
...
...
dlls/msxml3/text.c
View file @
6cc0e706
...
...
@@ -330,7 +330,7 @@ static HRESULT WINAPI domtext_hasChildNodes(
{
domtext
*
This
=
impl_from_IXMLDOMText
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
ret
);
return
node_has_childnodes
(
&
This
->
node
,
ret
);
return
return_var_false
(
ret
);
}
static
HRESULT
WINAPI
domtext_get_ownerDocument
(
...
...
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