diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-08 13:48:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-08 18:23:53 +0100 |
commit | c774ad610eb828742a3eea050e5a7571ba3b00be (patch) | |
tree | 5563215fe7b481f99efc96017d61ecd5c7a59072 /tools/source/generic | |
parent | 24d0704fa468b300558a3f904ae853fcb7fca312 (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.cxx | 4 |
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 ) |