summaryrefslogtreecommitdiff
path: root/sw/source/core
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-21 12:45:29 +0200
committerNoel Grandin <noel@peralex.com>2015-12-21 12:45:50 +0200
commitf7e4cf3c27100dbaf292dfacf0964bdade0a866a (patch)
tree129dac640a84f67e9e997c3b4f877c831b57a0ff /sw/source/core
parentdff9873c270f653ebd073dac90bdacd2a40207c1 (diff)
loplugin:unusedfields in sw
Change-Id: I4d987718bf27766c8cd7f3654db6645e5a7f554a
Diffstat (limited to 'sw/source/core')
-rw-r--r--sw/source/core/inc/unoport.hxx3
-rw-r--r--sw/source/core/unocore/unoport.cxx20
2 files changed, 3 insertions, 20 deletions
diff --git a/sw/source/core/inc/unoport.hxx b/sw/source/core/inc/unoport.hxx
index 8b9e72426f1c..3931230dbb9e 100644
--- a/sw/source/core/inc/unoport.hxx
+++ b/sw/source/core/inc/unoport.hxx
@@ -92,9 +92,6 @@ class SwXTextPortion : public cppu::WeakImplHelper
{
private:
- class Impl;
- ::sw::UnoImplPtr<Impl> m_pImpl;
-
const SfxItemPropertySet * m_pPropSet;
const css::uno::Reference< css::text::XText >
m_xParentText;
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 )