summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-16 11:07:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-16 12:21:07 +0200
commitd8d7bd68abfcd38bc5d7e7356cad50d9b44d5625 (patch)
tree42964bd47a79963a0c9c4ee1d4dcc1f7484c2049 /unoxml
parentbef6471c1dad3f8b08b50cfbad4dd324b6dd4a8a (diff)
-Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: Ibd5b7b03a80036ebd3214930b32d011ba7bbce9a
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/dom/documenttype.cxx4
-rw-r--r--unoxml/source/dom/entitiesmap.cxx4
-rw-r--r--unoxml/source/dom/entitiesmap.hxx4
-rw-r--r--unoxml/source/dom/notationsmap.cxx4
-rw-r--r--unoxml/source/dom/notationsmap.hxx4
5 files changed, 6 insertions, 14 deletions
diff --git a/unoxml/source/dom/documenttype.cxx b/unoxml/source/dom/documenttype.cxx
index 0a2197ef24c4..30a1e054c1ed 100644
--- a/unoxml/source/dom/documenttype.cxx
+++ b/unoxml/source/dom/documenttype.cxx
@@ -48,7 +48,7 @@ namespace DOM
Reference< XNamedNodeMap > aMap;
if (m_aDtdPtr != NULL)
{
- aMap.set(new CEntitiesMap(this, m_rMutex));
+ aMap.set(new CEntitiesMap(this));
}
return aMap;
}
@@ -89,7 +89,7 @@ namespace DOM
Reference< XNamedNodeMap > aMap;
if (m_aDtdPtr != NULL)
{
- aMap.set(new CNotationsMap(this, m_rMutex));
+ aMap.set(new CNotationsMap(this));
}
return aMap;
}
diff --git a/unoxml/source/dom/entitiesmap.cxx b/unoxml/source/dom/entitiesmap.cxx
index 2baf464e27af..34abbfae3152 100644
--- a/unoxml/source/dom/entitiesmap.cxx
+++ b/unoxml/source/dom/entitiesmap.cxx
@@ -24,10 +24,8 @@
namespace DOM
{
- CEntitiesMap::CEntitiesMap(::rtl::Reference<CDocumentType> const& pDocType,
- ::osl::Mutex & rMutex)
+ CEntitiesMap::CEntitiesMap(::rtl::Reference<CDocumentType> const& pDocType)
: m_pDocType(pDocType)
- , m_rMutex(rMutex)
{
}
diff --git a/unoxml/source/dom/entitiesmap.hxx b/unoxml/source/dom/entitiesmap.hxx
index 099efeaadfc3..edc909d563ef 100644
--- a/unoxml/source/dom/entitiesmap.hxx
+++ b/unoxml/source/dom/entitiesmap.hxx
@@ -43,11 +43,9 @@ namespace DOM
{
private:
::rtl::Reference<CDocumentType> const m_pDocType;
- ::osl::Mutex & m_rMutex;
public:
- CEntitiesMap(::rtl::Reference<CDocumentType> const& pDocType,
- ::osl::Mutex & rMutex);
+ CEntitiesMap(::rtl::Reference<CDocumentType> const& pDocType);
/**
The number of nodes in this map.
diff --git a/unoxml/source/dom/notationsmap.cxx b/unoxml/source/dom/notationsmap.cxx
index cb446c17bfaf..e955c18a5ede 100644
--- a/unoxml/source/dom/notationsmap.cxx
+++ b/unoxml/source/dom/notationsmap.cxx
@@ -25,10 +25,8 @@
namespace DOM
{
CNotationsMap::CNotationsMap(
- ::rtl::Reference<CDocumentType> const& pDocType,
- ::osl::Mutex & rMutex)
+ ::rtl::Reference<CDocumentType> const& pDocType)
: m_pDocType(pDocType)
- , m_rMutex(rMutex)
{
}
diff --git a/unoxml/source/dom/notationsmap.hxx b/unoxml/source/dom/notationsmap.hxx
index 9fb046c483eb..f8d234315f47 100644
--- a/unoxml/source/dom/notationsmap.hxx
+++ b/unoxml/source/dom/notationsmap.hxx
@@ -43,11 +43,9 @@ namespace DOM
{
private:
::rtl::Reference<CDocumentType> const m_pDocType;
- ::osl::Mutex & m_rMutex;
public:
- CNotationsMap(::rtl::Reference<CDocumentType> const& pDocType,
- ::osl::Mutex & rMutex);
+ CNotationsMap(::rtl::Reference<CDocumentType> const& pDocType);
/**
The number of nodes in this map.