diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-12 09:38:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-12 12:48:22 +0200 |
commit | feca66c513a681769c4b66ed1f1e0c70dada246c (patch) | |
tree | b2f806de7f370439fecc69dda5172ba671b799df /ucb/source/core | |
parent | 99e3703a845c643f17b589cf8174677ef88bb89a (diff) |
loplugin:simplifyconstruct in toolkit..ucb
Change-Id: Ica3efbdbf05a8161861b8be1ccdc62ab4aec1d69
Reviewed-on: https://gerrit.libreoffice.org/60371
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source/core')
-rw-r--r-- | ucb/source/core/ucb.cxx | 1 | ||||
-rw-r--r-- | ucb/source/core/ucbstore.cxx | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/ucb/source/core/ucb.cxx b/ucb/source/core/ucb.cxx index 02dccec24ed3..b60f0fd28c98 100644 --- a/ucb/source/core/ucb.cxx +++ b/ucb/source/core/ucb.cxx @@ -231,7 +231,6 @@ bool createContentProviderData( UniversalContentBroker::UniversalContentBroker( const Reference< css::uno::XComponentContext >& xContext ) : m_xContext( xContext ), - m_pDisposeEventListeners( nullptr ), m_nCommandId( 0 ) { OSL_ENSURE( m_xContext.is(), diff --git a/ucb/source/core/ucbstore.cxx b/ucb/source/core/ucbstore.cxx index 56bcbc39593b..f40e7008456b 100644 --- a/ucb/source/core/ucbstore.cxx +++ b/ucb/source/core/ucbstore.cxx @@ -1067,7 +1067,7 @@ struct PersistentPropertySet_Impl PersistentPropertySet_Impl( PropertySetRegistry& rCreator, const OUString& rKey ) - : m_pCreator( &rCreator ), m_pInfo( nullptr ), m_aKey( rKey ) + : m_pCreator( &rCreator ), m_aKey( rKey ) { } }; @@ -2074,8 +2074,7 @@ PropertySetRegistry& PersistentPropertySet::getPropertySetRegistry() PropertySetInfo_Impl::PropertySetInfo_Impl( PersistentPropertySet* pOwner ) -: m_pProps( nullptr ), - m_pOwner( pOwner ) +: m_pOwner( pOwner ) { } |