summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-06 10:30:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-06 14:38:52 +0200
commitc289c25523496f58b81e061cea82757c99e99957 (patch)
treef85f43251ddfce0ea6aa23f46729139c04497b2c /comphelper
parent07e87211c2b2e98fd176fef2018723b50c8dbb1a (diff)
loplugin:simplifyconstruct in canvas..cui
Change-Id: I02eba1df117a9d0df42bcac13c3251cb4fa6da14 Reviewed-on: https://gerrit.libreoffice.org/60074 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/container/container.cxx1
-rw-r--r--comphelper/source/misc/instancelocker.cxx3
-rw-r--r--comphelper/source/officeinstdir/officeinstallationdirectories.cxx4
3 files changed, 2 insertions, 6 deletions
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 )
{
}