diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-27 21:08:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-28 16:51:51 +0200 |
commit | ff41cf1b8dbeb36b8824257acb5c5ba272415108 (patch) | |
tree | f10fd5ac3dac8b21ab0540a2fc66ee3ebaf16a7e /basegfx | |
parent | 9c9e5b5ee7f1144c20624ac9471354a218638175 (diff) |
loplugin:oncevar
Change-Id: I3c014f53607a849c743a2fd1aa47d03d5af978fb
Reviewed-on: https://gerrit.libreoffice.org/76495
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/WaveLine.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basegfx/source/polygon/WaveLine.cxx b/basegfx/source/polygon/WaveLine.cxx index 8385cef7be1b..bc85c4536250 100644 --- a/basegfx/source/polygon/WaveLine.cxx +++ b/basegfx/source/polygon/WaveLine.cxx @@ -28,7 +28,7 @@ BASEGFX_DLLPUBLIC B2DPolygon createWaveLinePolygon(basegfx::B2DRectangle const& // In quadratic bezier the curve is 1/2 of the control height // so we need to compensate for that. - double fHeightCompensation = 2.0; + constexpr double fHeightCompensation = 2.0; aPolygon.append(basegfx::B2DPoint(fLastX, fBaseY)); |