summaryrefslogtreecommitdiff
path: root/unoxml/source/xpath/xpathobject.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-10-14 13:04:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-14 13:34:16 +0100
commit0e70d593ef28636a54f204b9a395e73f2308f4c4 (patch)
treeb2cd4dc8772fb253094724c8804a9700fb9b13bc /unoxml/source/xpath/xpathobject.cxx
parent2c8fc9289fe3e6d96adf564bff79a7dbfa3a6f0d (diff)
fdo#30825# fix more ownership issues
Diffstat (limited to 'unoxml/source/xpath/xpathobject.cxx')
-rw-r--r--unoxml/source/xpath/xpathobject.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/xpath/xpathobject.cxx b/unoxml/source/xpath/xpathobject.cxx
index 8d5343edbe97..1e20179a0d01 100644
--- a/unoxml/source/xpath/xpathobject.cxx
+++ b/unoxml/source/xpath/xpathobject.cxx
@@ -86,7 +86,7 @@ namespace XPath
*/
Reference< XNodeList > SAL_CALL CXPathObject::getNodeList() throw (RuntimeException)
{
- return Reference< XNodeList >(new CNodeList(m_pXPathObj));
+ return Reference< XNodeList >(new CNodeList(m_pXPathObj, m_xContextNode));
}
/**