From d8d7bd68abfcd38bc5d7e7356cad50d9b44d5625 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 16 Aug 2012 11:07:00 +0200 Subject: -Werror,-Wunused-private-field (Clang towards 3.2) Change-Id: Ibd5b7b03a80036ebd3214930b32d011ba7bbce9a --- unoxml/source/dom/documenttype.cxx | 4 ++-- unoxml/source/dom/entitiesmap.cxx | 4 +--- unoxml/source/dom/entitiesmap.hxx | 4 +--- unoxml/source/dom/notationsmap.cxx | 4 +--- unoxml/source/dom/notationsmap.hxx | 4 +--- 5 files changed, 6 insertions(+), 14 deletions(-) (limited to 'unoxml') 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 const& pDocType, - ::osl::Mutex & rMutex) + CEntitiesMap::CEntitiesMap(::rtl::Reference 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 const m_pDocType; - ::osl::Mutex & m_rMutex; public: - CEntitiesMap(::rtl::Reference const& pDocType, - ::osl::Mutex & rMutex); + CEntitiesMap(::rtl::Reference 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 const& pDocType, - ::osl::Mutex & rMutex) + ::rtl::Reference 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 const m_pDocType; - ::osl::Mutex & m_rMutex; public: - CNotationsMap(::rtl::Reference const& pDocType, - ::osl::Mutex & rMutex); + CNotationsMap(::rtl::Reference const& pDocType); /** The number of nodes in this map. -- cgit