diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-28 11:27:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-29 14:37:12 +0200 |
commit | 17c936bca548acc93d6b2e70593bc711c0e6b8a4 (patch) | |
tree | af43f36650ea199297988d705903d32501452605 /svx | |
parent | d4992bb36efb15da91a70e86e68a80f13b97e947 (diff) |
loplugin:unusedfields-in-constructor in various
Change-Id: Ie0fb647938e3cf730976fb2e435b92bfd67ef645
Reviewed-on: https://gerrit.libreoffice.org/54998
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdopath.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx index c1ff60b573cd..b61e88ae1a43 100644 --- a/svx/source/svdraw/svdopath.cxx +++ b/svx/source/svdraw/svdopath.cxx @@ -81,7 +81,6 @@ struct ImpSdrPathDragData : public SdrDragStatUserData sal_uInt16 nPoly; // number of the polygon in the PolyPolygon sal_uInt16 nPnt; // number of point in the above polygon sal_uInt16 nPointCount; // number of points of the polygon - sal_uInt16 nPntMax; // maximum index bool bBegPnt; // dragged point is first point of a Polyline bool bEndPnt; // dragged point is finishing point of a Polyline sal_uInt16 nPrevPnt; // index of previous point @@ -120,7 +119,6 @@ ImpSdrPathDragData::ImpSdrPathDragData(const SdrPathObj& rPO, const SdrHdl& rHdl , nPoly(0) , nPnt(0) , nPointCount(0) - , nPntMax(0) , bBegPnt(false) , bEndPnt(false) , nPrevPnt(0) @@ -166,6 +164,7 @@ ImpSdrPathDragData::ImpSdrPathDragData(const SdrPathObj& rPO, const SdrHdl& rHdl } else { + sal_uInt16 nPntMax = 0; // maximum index bValid=false; bClosed=rPO.IsClosed(); // closed object? nPoly=static_cast<sal_uInt16>(rHdl.GetPolyNum()); // number of the polygon in the PolyPolygon |