diff options
author | Michael Stahl <mst@openoffice.org> | 2011-01-19 20:27:24 +0100 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2011-01-19 20:27:24 +0100 |
commit | aa85497de77acae2c9e58d7339584dcd7665e425 (patch) | |
tree | 927dc441175ad182c6c8bad866e52a0bf9c6117b /unoxml/source/dom/node.cxx | |
parent | cb42fe10fa5cdefe902e63c735ddf508c68c84e2 (diff) |
xmlfix3: unoxml: fix CChildList: member pointer does not keep document alive
Diffstat (limited to 'unoxml/source/dom/node.cxx')
-rw-r--r-- | unoxml/source/dom/node.cxx | 4 |
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; } |