24#include "../dom/document.hxx"
26using namespace css::uno;
27using namespace css::xml::dom;
33 ::osl::Mutex & rMutex,
34 std::shared_ptr<xmlXPathObject>
const& rxpathObj)
35 : m_pDocument(
std::move(pDocument))
39 if (rxpathObj !=
nullptr && rxpathObj->type == XPATH_NODESET)
std::shared_ptr< xmlXPathObject > m_pXPathObj
retain the result set in case the CXPathObject is released
virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL item(sal_Int32 index) override
Returns the indexth item in the collection.
virtual sal_Int32 SAL_CALL getLength() override
The number of nodes in the list.
CNodeList(::rtl::Reference< DOM::CDocument > pDocument, ::osl::Mutex &rMutex, std::shared_ptr< xmlXPathObject > const &rxpathObj)
::rtl::Reference< DOM::CDocument > const m_pDocument
#i115995# keep document alive