diff options
Diffstat (limited to 'basegfx/source/polygon/WaveLine.cxx')
-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)); |