diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-11 12:36:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-11 18:17:58 +0200 |
commit | 83a962578f616ae4ff215fa782763f2045a20bcc (patch) | |
tree | 4286476b26081960248ea63752822d9589db6d0f /svx/source/xoutdev | |
parent | 591db0f97b6084723c138a01d5f336b1f1a3a639 (diff) |
loplugin:simplifyconstruct in svtools..svx
Change-Id: Ia20fac7cec01ac658a903f8b001807b2e72dbf3e
Reviewed-on: https://gerrit.libreoffice.org/60316
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/xoutdev')
-rw-r--r-- | svx/source/xoutdev/_xpoly.cxx | 8 | ||||
-rw-r--r-- | svx/source/xoutdev/xpool.cxx | 3 |
2 files changed, 3 insertions, 8 deletions
diff --git a/svx/source/xoutdev/_xpoly.cxx b/svx/source/xoutdev/_xpoly.cxx index 63d53d8585b9..286d8c9ea834 100644 --- a/svx/source/xoutdev/_xpoly.cxx +++ b/svx/source/xoutdev/_xpoly.cxx @@ -39,9 +39,7 @@ ImpXPolygon::ImpXPolygon(sal_uInt16 nInitSize, sal_uInt16 _nResize) - : pPointAry(nullptr) - , pFlagAry(nullptr) - , pOldPointAry(nullptr) + : pOldPointAry(nullptr) , bDeleteOldPoints(false) , nSize(0) , nResize(_nResize) @@ -51,9 +49,7 @@ ImpXPolygon::ImpXPolygon(sal_uInt16 nInitSize, sal_uInt16 _nResize) } ImpXPolygon::ImpXPolygon( const ImpXPolygon& rImpXPoly ) - : pPointAry(nullptr) - , pFlagAry(nullptr) - , pOldPointAry(nullptr) + : pOldPointAry(nullptr) , bDeleteOldPoints(false) , nSize(0) , nResize(rImpXPoly.nResize) diff --git a/svx/source/xoutdev/xpool.cxx b/svx/source/xoutdev/xpool.cxx index 7b8d75c3009a..e21a584273ca 100644 --- a/svx/source/xoutdev/xpool.cxx +++ b/svx/source/xoutdev/xpool.cxx @@ -168,8 +168,7 @@ XOutdevItemPool::XOutdevItemPool(SfxItemPool* _pMaster) // copy ctor, clones all static defaults XOutdevItemPool::XOutdevItemPool(const XOutdevItemPool& rPool) : SfxItemPool(rPool, true), - mpLocalPoolDefaults(nullptr), - mpLocalItemInfos(nullptr) + mpLocalPoolDefaults(nullptr) { } |