From f7e4cf3c27100dbaf292dfacf0964bdade0a866a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 21 Dec 2015 12:45:29 +0200 Subject: loplugin:unusedfields in sw Change-Id: I4d987718bf27766c8cd7f3654db6645e5a7f554a --- sw/source/core/unocore/unoport.cxx | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) (limited to 'sw/source/core/unocore') diff --git a/sw/source/core/unocore/unoport.cxx b/sw/source/core/unocore/unoport.cxx index 0c176c7fa275..5823d6e8a945 100644 --- a/sw/source/core/unocore/unoport.cxx +++ b/sw/source/core/unocore/unoport.cxx @@ -51,17 +51,6 @@ using namespace ::com::sun::star; -class SwXTextPortion::Impl -{ -private: - ::osl::Mutex m_Mutex; // just for OInterfaceContainerHelper - -public: - ::cppu::OInterfaceContainerHelper m_EventListeners; - - Impl() : m_EventListeners(m_Mutex) { } -}; - void SwXTextPortion::init(const SwUnoCursor* pPortionCursor) { m_pUnoCursor = pPortionCursor->GetDoc()->CreateUnoCursor(*pPortionCursor->GetPoint()); @@ -76,8 +65,7 @@ SwXTextPortion::SwXTextPortion( const SwUnoCursor* pPortionCursor, uno::Reference< text::XText > const& rParent, SwTextPortionType eType) - : m_pImpl(new Impl) - , m_pPropSet(aSwMapProvider.GetPropertySet( + : m_pPropSet(aSwMapProvider.GetPropertySet( (PORTION_REDLINE_START == eType || PORTION_REDLINE_END == eType) ? PROPERTY_MAP_REDLINE_PORTION @@ -95,8 +83,7 @@ SwXTextPortion::SwXTextPortion( const SwUnoCursor* pPortionCursor, uno::Reference< text::XText > const& rParent, SwFrameFormat& rFormat ) - : m_pImpl(new Impl) - , m_pPropSet(aSwMapProvider.GetPropertySet( + : m_pPropSet(aSwMapProvider.GetPropertySet( PROPERTY_MAP_TEXTPORTION_EXTENSIONS)) , m_xParentText(rParent) , m_FrameDepend(this, &rFormat) @@ -112,8 +99,7 @@ SwXTextPortion::SwXTextPortion( SwTextRuby const& rAttr, uno::Reference< text::XText > const& xParent, bool bIsEnd ) - : m_pImpl(new Impl) - , m_pPropSet(aSwMapProvider.GetPropertySet( + : m_pPropSet(aSwMapProvider.GetPropertySet( PROPERTY_MAP_TEXTPORTION_EXTENSIONS)) , m_xParentText(xParent) , m_pRubyText ( bIsEnd ? nullptr : new uno::Any ) -- cgit v1.2.3