From 2002bbe83de99784e38edc206f83c580e2a7a7a7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 7 Sep 2018 20:58:25 +0200 Subject: loplugin:simplifyconstruct in editeng..extensions Change-Id: I646a24382554312d92a4a8746d5267767353a53f Reviewed-on: https://gerrit.libreoffice.org/60169 Tested-by: Jenkins Reviewed-by: Noel Grandin --- embeddedobj/source/general/intercept.cxx | 3 +-- embeddedobj/source/msole/olemisc.cxx | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'embeddedobj') diff --git a/embeddedobj/source/general/intercept.cxx b/embeddedobj/source/general/intercept.cxx index 9424cc55b52d..3342c5a056d7 100644 --- a/embeddedobj/source/general/intercept.cxx +++ b/embeddedobj/source/general/intercept.cxx @@ -48,8 +48,7 @@ void Interceptor::DisconnectDocHolder() } Interceptor::Interceptor( DocumentHolder* pDocHolder ) - : m_pDocHolder( pDocHolder ), - m_pStatCL(nullptr) + : m_pDocHolder( pDocHolder ) { m_aInterceptedURL[0] = ".uno:Save"; m_aInterceptedURL[1] = ".uno:SaveAll"; diff --git a/embeddedobj/source/msole/olemisc.cxx b/embeddedobj/source/msole/olemisc.cxx index 73c6ffd61a57..02f2e14ac39b 100644 --- a/embeddedobj/source/msole/olemisc.cxx +++ b/embeddedobj/source/msole/olemisc.cxx @@ -46,7 +46,6 @@ OleEmbeddedObject::OleEmbeddedObject( const uno::Reference< lang::XMultiServiceF const uno::Sequence< sal_Int8 >& aClassID, const OUString& aClassName ) : m_pOleComponent( nullptr ) -, m_pInterfaceContainer( nullptr ) , m_bReadOnly( false ) , m_bDisposed( false ) , m_nObjectState( -1 ) @@ -79,7 +78,6 @@ OleEmbeddedObject::OleEmbeddedObject( const uno::Reference< lang::XMultiServiceF // will be retrieved from the entry, during construction it is unknown OleEmbeddedObject::OleEmbeddedObject( const uno::Reference< lang::XMultiServiceFactory >& xFactory, bool bLink ) : m_pOleComponent( nullptr ) -, m_pInterfaceContainer( nullptr ) , m_bReadOnly( false ) , m_bDisposed( false ) , m_nObjectState( -1 ) -- cgit