From c289c25523496f58b81e061cea82757c99e99957 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 6 Sep 2018 10:30:58 +0200 Subject: loplugin:simplifyconstruct in canvas..cui Change-Id: I02eba1df117a9d0df42bcac13c3251cb4fa6da14 Reviewed-on: https://gerrit.libreoffice.org/60074 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- comphelper/source/container/container.cxx | 1 - comphelper/source/misc/instancelocker.cxx | 3 +-- comphelper/source/officeinstdir/officeinstallationdirectories.cxx | 4 +--- 3 files changed, 2 insertions(+), 6 deletions(-) (limited to 'comphelper/source') diff --git a/comphelper/source/container/container.cxx b/comphelper/source/container/container.cxx index ce5c2f15f648..a9edef8a458f 100644 --- a/comphelper/source/container/container.cxx +++ b/comphelper/source/container/container.cxx @@ -31,7 +31,6 @@ namespace comphelper IndexAccessIterator::IndexAccessIterator(css::uno::Reference< css::uno::XInterface> const & xStartingPoint) :m_xStartingPoint(xStartingPoint) - ,m_xCurrentObject(nullptr) { OSL_ENSURE(m_xStartingPoint.is(), "IndexAccessIterator::IndexAccessIterator : no starting point !"); } diff --git a/comphelper/source/misc/instancelocker.cxx b/comphelper/source/misc/instancelocker.cxx index ec0b27f4180b..61b6338b67ca 100644 --- a/comphelper/source/misc/instancelocker.cxx +++ b/comphelper/source/misc/instancelocker.cxx @@ -40,8 +40,7 @@ using namespace ::com::sun::star; OInstanceLocker::OInstanceLocker() -: m_pListenersContainer( nullptr ) -, m_bDisposed( false ) +: m_bDisposed( false ) , m_bInitialized( false ) { } diff --git a/comphelper/source/officeinstdir/officeinstallationdirectories.cxx b/comphelper/source/officeinstdir/officeinstallationdirectories.cxx index 1323f79a22de..c6f91ffa7c1b 100644 --- a/comphelper/source/officeinstdir/officeinstallationdirectories.cxx +++ b/comphelper/source/officeinstdir/officeinstallationdirectories.cxx @@ -80,9 +80,7 @@ static OUString const g_aUserDirMacro("$(userdataurl)"); OfficeInstallationDirectories::OfficeInstallationDirectories( const uno::Reference< uno::XComponentContext > & xCtx ) -: m_xCtx( xCtx ), - m_pOfficeBrandDir( nullptr ), - m_pUserDir( nullptr ) +: m_xCtx( xCtx ) { } -- cgit .05 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2019-01-08tdf#42949 Fix IWYU warnings in store/source/*Gabor Kelemen