diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-23 10:03:27 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-02-23 10:17:24 +0000 |
commit | b2bb094f6ba3d2c23573ea9a66d7cc67c2a3ea1a (patch) | |
tree | 100f8747c553d84bc25e54a5a40c1942fd4a30f8 /include/canvas | |
parent | 86a852f0a63876b2b952e12258e93c9ee4695eb3 (diff) |
convert GradientType to scoped enum
Change-Id: Icef1d8d38481022104a957ac9deac1c03dc2d6fb
Reviewed-on: https://gerrit.libreoffice.org/22632
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/canvas')
-rw-r--r-- | include/canvas/parametricpolypolygon.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/canvas/parametricpolypolygon.hxx b/include/canvas/parametricpolypolygon.hxx index 481729bbc10c..cc514f8bec4e 100644 --- a/include/canvas/parametricpolypolygon.hxx +++ b/include/canvas/parametricpolypolygon.hxx @@ -47,11 +47,11 @@ namespace canvas public ParametricPolyPolygon_Base { public: - enum GradientType + enum class GradientType { - GRADIENT_LINEAR, - GRADIENT_ELLIPTICAL, - GRADIENT_RECTANGULAR + Linear, + Elliptical, + Rectangular }; /** Structure of defining values for the ParametricPolyPolygon |