summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/document.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2011-01-19 20:27:26 +0100
committerMichael Stahl <mst@openoffice.org>2011-01-19 20:27:26 +0100
commite94a328aa0b1a0f61018e6978dda626b842f6855 (patch)
tree138379be1300b6a2ec2af02f13b229c847fde7e3 /unoxml/source/dom/document.hxx
parentdd995cea7b9a262d51b94d536817e5aa2950f1cb (diff)
xmlfix3: #i113682#: unoxml: locking in XPath:
use CDocument mutex in results, and during evaluation. new CXPathAPI member mutex. also, fix lcl_collectNamespaces in case parent nodes declare same prefix.
Diffstat (limited to 'unoxml/source/dom/document.hxx')
-rw-r--r--unoxml/source/dom/document.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/unoxml/source/dom/document.hxx b/unoxml/source/dom/document.hxx
index 0cde502a53db..92235c08a720 100644
--- a/unoxml/source/dom/document.hxx
+++ b/unoxml/source/dom/document.hxx
@@ -113,6 +113,9 @@ namespace DOM
virtual ~CDocument();
+ // needed by CXPathAPI
+ ::osl::Mutex & GetMutex() { return m_Mutex; }
+
events::CEventDispatcher & GetEventDispatcher();
::rtl::Reference< CElement > GetDocumentElement();