basegfx/source/polygon/b2dpolygontools.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit b1309bcc8fed5c9a2352d74cc42172cf5af59b69 Author: sahibjot <sahibjo...@gmail.com> AuthorDate: Thu Jul 31 01:25:56 2025 -0400 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Mon Aug 11 07:50:40 2025 +0200 tdf#145614 convert #define to constexpr Change-Id: Ibb0d081992e6cab81a83096f94596184e9233b40 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188642 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> Tested-by: Jenkins diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx index f1b9c169f345..e3d95ef7fa30 100644 --- a/basegfx/source/polygon/b2dpolygontools.cxx +++ b/basegfx/source/polygon/b2dpolygontools.cxx @@ -36,9 +36,9 @@ #include <basegfx/matrix/b2dhommatrixtools.hxx> // #i37443# -#define ANGLE_BOUND_START_VALUE (2.25) -#define ANGLE_BOUND_MINIMUM_VALUE (0.1) -#define STEPSPERQUARTER (3) +constexpr double ANGLE_BOUND_START_VALUE = 2.25; +constexpr double ANGLE_BOUND_MINIMUM_VALUE = 0.1; +constexpr sal_uInt32 STEPSPERQUARTER = 3; namespace basegfx::utils {