summaryrefslogtreecommitdiff
path: root/cppu
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 /cppu
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 'cppu')
-rw-r--r--cppu/source/AffineBridge/AffineBridge.cxx4
-rw-r--r--cppu/source/typelib/typelib.cxx5
2 files changed, 3 insertions, 6 deletions
diff --git a/cppu/source/AffineBridge/AffineBridge.cxx b/cppu/source/AffineBridge/AffineBridge.cxx
index 55bf58d7e917..2a14b3c890d8 100644
--- a/cppu/source/AffineBridge/AffineBridge.cxx
+++ b/cppu/source/AffineBridge/AffineBridge.cxx
@@ -131,10 +131,8 @@ AffineBridge::AffineBridge()
m_pCallee (nullptr),
m_pParam (nullptr),
m_innerThreadId(0),
- m_pInnerThread (nullptr),
m_enterCount (0),
- m_outerThreadId(0),
- m_pOuterThread (nullptr)
+ m_outerThreadId(0)
{
SAL_INFO("cppu.affinebridge", "LIFE: AffineBridge::AffineBridge(uno_Environment * pEnv) -> " << this);
}
diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx
index ec51f2128143..3afc22e9cead 100644
--- a/cppu/source/typelib/typelib.cxx
+++ b/cppu/source/typelib/typelib.cxx
@@ -198,10 +198,9 @@ struct TypeDescriptor_Init_Impl
sal_Int32 nTypeDescriptionReferenceCount;
#endif
- TypeDescriptor_Init_Impl():
- pWeakMap(nullptr), pCallbacks(nullptr), pCache(nullptr), pMutex(nullptr)
+ TypeDescriptor_Init_Impl()
#if OSL_DEBUG_LEVEL > 0
- , nTypeDescriptionCount(0), nCompoundTypeDescriptionCount(0),
+ : nTypeDescriptionCount(0), nCompoundTypeDescriptionCount(0),
nIndirectTypeDescriptionCount(0),
nEnumTypeDescriptionCount(0),
nInterfaceMethodTypeDescriptionCount(0),