Kaydet (Commit) d8d7bd68 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-private-field (Clang towards 3.2)

Change-Id: Ibd5b7b03a80036ebd3214930b32d011ba7bbce9a
üst bef6471c
...@@ -48,7 +48,7 @@ namespace DOM ...@@ -48,7 +48,7 @@ namespace DOM
Reference< XNamedNodeMap > aMap; Reference< XNamedNodeMap > aMap;
if (m_aDtdPtr != NULL) if (m_aDtdPtr != NULL)
{ {
aMap.set(new CEntitiesMap(this, m_rMutex)); aMap.set(new CEntitiesMap(this));
} }
return aMap; return aMap;
} }
...@@ -89,7 +89,7 @@ namespace DOM ...@@ -89,7 +89,7 @@ namespace DOM
Reference< XNamedNodeMap > aMap; Reference< XNamedNodeMap > aMap;
if (m_aDtdPtr != NULL) if (m_aDtdPtr != NULL)
{ {
aMap.set(new CNotationsMap(this, m_rMutex)); aMap.set(new CNotationsMap(this));
} }
return aMap; return aMap;
} }
......
...@@ -24,10 +24,8 @@ ...@@ -24,10 +24,8 @@
namespace DOM namespace DOM
{ {
CEntitiesMap::CEntitiesMap(::rtl::Reference<CDocumentType> const& pDocType, CEntitiesMap::CEntitiesMap(::rtl::Reference<CDocumentType> const& pDocType)
::osl::Mutex & rMutex)
: m_pDocType(pDocType) : m_pDocType(pDocType)
, m_rMutex(rMutex)
{ {
} }
......
...@@ -43,11 +43,9 @@ namespace DOM ...@@ -43,11 +43,9 @@ namespace DOM
{ {
private: private:
::rtl::Reference<CDocumentType> const m_pDocType; ::rtl::Reference<CDocumentType> const m_pDocType;
::osl::Mutex & m_rMutex;
public: public:
CEntitiesMap(::rtl::Reference<CDocumentType> const& pDocType, CEntitiesMap(::rtl::Reference<CDocumentType> const& pDocType);
::osl::Mutex & rMutex);
/** /**
The number of nodes in this map. The number of nodes in this map.
......
...@@ -25,10 +25,8 @@ ...@@ -25,10 +25,8 @@
namespace DOM namespace DOM
{ {
CNotationsMap::CNotationsMap( CNotationsMap::CNotationsMap(
::rtl::Reference<CDocumentType> const& pDocType, ::rtl::Reference<CDocumentType> const& pDocType)
::osl::Mutex & rMutex)
: m_pDocType(pDocType) : m_pDocType(pDocType)
, m_rMutex(rMutex)
{ {
} }
......
...@@ -43,11 +43,9 @@ namespace DOM ...@@ -43,11 +43,9 @@ namespace DOM
{ {
private: private:
::rtl::Reference<CDocumentType> const m_pDocType; ::rtl::Reference<CDocumentType> const m_pDocType;
::osl::Mutex & m_rMutex;
public: public:
CNotationsMap(::rtl::Reference<CDocumentType> const& pDocType, CNotationsMap(::rtl::Reference<CDocumentType> const& pDocType);
::osl::Mutex & rMutex);
/** /**
The number of nodes in this map. The number of nodes in this map.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment