diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-12 09:37:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-12 12:24:13 +0200 |
commit | 3af36642f1b703b698fe2d53e8c064233dd64de8 (patch) | |
tree | e9c0c84e82aa2b60484dd020be53beacba0ed47b /sw/source/core/unocore | |
parent | a170f5c4a53f6a02ce9d7bb7458e3677c0d69ad3 (diff) |
loplugin:simplifyconstruct in sw
Change-Id: I17c9009637edc04d9d06fa9a0bd19572eefd4fe8
Reviewed-on: https://gerrit.libreoffice.org/60370
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/unocore')
-rw-r--r-- | sw/source/core/unocore/unofield.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/unocore/unoframe.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/unocore/unostyle.cxx | 5 |
3 files changed, 1 insertions, 6 deletions
diff --git a/sw/source/core/unocore/unofield.cxx b/sw/source/core/unocore/unofield.cxx index 03e0fedc064c..05d70e6d5807 100644 --- a/sw/source/core/unocore/unofield.cxx +++ b/sw/source/core/unocore/unofield.cxx @@ -1103,7 +1103,6 @@ struct SwFieldProperties_Impl SwFieldProperties_Impl(): aDate( Date::EMPTY ), fDouble(0.), - pDateTime(nullptr), nSubType(0), nFormat(0), nUSHORT1(0), diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index d8f7f1ac7053..a2c43e2824aa 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -3367,7 +3367,6 @@ uno::Reference<container::XNameReplace> SAL_CALL SwXTextEmbeddedObject::SwXTextEmbeddedObject( SwDoc *pDoc ) : SwXTextEmbeddedObjectBaseClass(FLYCNTTYPE_OLE, aSwMapProvider.GetPropertySet(PROPERTY_MAP_EMBEDDED_OBJECT), pDoc) - , m_xOLEListener(nullptr) { } diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index a81f553cc00b..e58c1f01e535 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -1305,7 +1305,6 @@ SwXStyle::SwXStyle(SfxStyleSheetBasePool* pPool, SfxStyleFamily eFamily, SwDoc* , m_bIsDescriptor(false) , m_bIsConditional(lcl_InitConditional(pPool, eFamily, rStyleName)) , m_pBasePool(pPool) - , m_pPropertiesImpl(nullptr) { } SwXStyle::~SwXStyle() @@ -1468,7 +1467,6 @@ public: : m_rDoc(rSwDoc) , m_pOldPageDesc(nullptr) , m_pItemSet(nullptr) - , m_pMyItemSet(nullptr) , m_rStyleName(rName) , m_pParentStyle(pParentStyle) { } @@ -4279,7 +4277,7 @@ uno::Sequence< beans::PropertyValue > SwXAutoStyle::getProperties() } SwXTextTableStyle::SwXTextTableStyle(SwDocShell* pDocShell, SwTableAutoFormat* pTableAutoFormat) : - m_pDocShell(pDocShell), m_pTableAutoFormat(pTableAutoFormat), m_pTableAutoFormat_Impl(nullptr), m_bPhysical(true) + m_pDocShell(pDocShell), m_pTableAutoFormat(pTableAutoFormat), m_bPhysical(true) { UpdateCellStylesMapping(); } @@ -4634,7 +4632,6 @@ css::uno::Sequence<OUString> SAL_CALL SwXTextTableStyle::getSupportedServiceName SwXTextCellStyle::SwXTextCellStyle(SwDocShell* pDocShell, SwBoxAutoFormat* pBoxAutoFormat, const OUString& sParentStyle) : m_pDocShell(pDocShell), m_pBoxAutoFormat(pBoxAutoFormat), - m_pBoxAutoFormat_Impl(nullptr), m_sParentStyle(sParentStyle), m_bPhysical(true) { } |