diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-08-17 22:39:34 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-08-20 16:40:12 +0200 |
commit | 624198efe4e1d2183effa95df59a3cafaba61b30 (patch) | |
tree | 15a7f2e9327aa56897240fefe46ba835c2f17324 | |
parent | 0a1256a9d703746d1b74ce1198d77acfada3701d (diff) |
SwXBookmark: m_rThis now unused
Change-Id: I686a5383a6b42872bd6945780c661d1a2a49cad7
-rw-r--r-- | sw/source/core/unocore/unobkm.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sw/source/core/unocore/unobkm.cxx b/sw/source/core/unocore/unobkm.cxx index e7cae25e72b8..569fcd2cf320 100644 --- a/sw/source/core/unocore/unobkm.cxx +++ b/sw/source/core/unocore/unobkm.cxx @@ -56,7 +56,6 @@ class SwXBookmark::Impl : public SwClient { private: - SwXBookmark & m_rThis; ::osl::Mutex m_Mutex; // just for OInterfaceContainerHelper public: @@ -66,10 +65,8 @@ public: ::sw::mark::IMark * m_pRegisteredBookmark; OUString m_sMarkName; - Impl( SwXBookmark & rThis, - SwDoc *const pDoc, ::sw::mark::IMark *const /*pBookmark*/) + Impl( SwDoc *const pDoc, ::sw::mark::IMark *const /*pBookmark*/) : SwClient() - , m_rThis(rThis) , m_EventListeners(m_Mutex) , m_pDoc(pDoc) , m_pRegisteredBookmark(0) @@ -141,12 +138,12 @@ const ::sw::mark::IMark* SwXBookmark::GetBookmark() const SwXBookmark::SwXBookmark( ::sw::mark::IMark *const pBkmk, SwDoc *const pDoc) - : m_pImpl( new SwXBookmark::Impl(*this, pDoc, pBkmk) ) + : m_pImpl( new SwXBookmark::Impl(pDoc, pBkmk) ) { } SwXBookmark::SwXBookmark() - : m_pImpl( new SwXBookmark::Impl(*this, 0, 0) ) + : m_pImpl( new SwXBookmark::Impl(0, 0) ) { } |