summaryrefslogtreecommitdiff
path: root/tools/source/generic
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-08 13:48:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-08 18:23:53 +0100
commitc774ad610eb828742a3eea050e5a7571ba3b00be (patch)
tree5563215fe7b481f99efc96017d61ecd5c7a59072 /tools/source/generic
parent24d0704fa468b300558a3f904ae853fcb7fca312 (diff)
loplugin:constantparam in svtools..unotools
Change-Id: I6e72fbe44dcb65ee5162448e9a72e6437d56b044 Reviewed-on: https://gerrit.libreoffice.org/50948 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools/source/generic')
-rw-r--r--tools/source/generic/poly.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx
index 387282b4af0e..ce9dabefa37e 100644
--- a/tools/source/generic/poly.cxx
+++ b/tools/source/generic/poly.cxx
@@ -61,9 +61,9 @@ inline double ImplGetParameter( const Point& rCenter, const Point& rPt, double f
return atan2(fWR*sin(fAngle), fHR*cos(fAngle));
}
-ImplPolygon::ImplPolygon( sal_uInt16 nInitSize, bool bFlags )
+ImplPolygon::ImplPolygon( sal_uInt16 nInitSize )
{
- ImplInitSize(nInitSize, bFlags);
+ ImplInitSize(nInitSize, false);
}
ImplPolygon::ImplPolygon( const ImplPolygon& rImpPoly )