summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/node.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom/node.cxx')
-rw-r--r--unoxml/source/dom/node.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/unoxml/source/dom/node.cxx b/unoxml/source/dom/node.cxx
index 3554811d8b45..2b2885778ff4 100644
--- a/unoxml/source/dom/node.cxx
+++ b/unoxml/source/dom/node.cxx
@@ -562,9 +562,7 @@ namespace DOM
if (0 == m_aNodePtr) {
return 0;
}
- Reference< XNodeList > const xNodeList(
- new CChildList(*CNode::getCNode(m_aNodePtr)));
- // XXX check for errors?
+ Reference< XNodeList > const xNodeList(new CChildList(this));
return xNodeList;
}