summaryrefslogtreecommitdiff
path: root/embeddedobj
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-07 20:58:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-08 14:45:11 +0200
commit2002bbe83de99784e38edc206f83c580e2a7a7a7 (patch)
treeaa94bde0a27a19afebf17b90a718251218366501 /embeddedobj
parent6d180f09f2d2bdb94e5d2113e509430cf8ba13cc (diff)
loplugin:simplifyconstruct in editeng..extensions
Change-Id: I646a24382554312d92a4a8746d5267767353a53f Reviewed-on: https://gerrit.libreoffice.org/60169 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'embeddedobj')
-rw-r--r--embeddedobj/source/general/intercept.cxx3
-rw-r--r--embeddedobj/source/msole/olemisc.cxx2
2 files changed, 1 insertions, 4 deletions
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 )