diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-30 12:11:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-30 13:06:54 +0000 |
commit | 0cd7ccb87e70982e416322587661cbfde01505ec (patch) | |
tree | 5fe3ac3907f1148ff0b37c2014fec908969569c1 /include/vcl/graphictools.hxx | |
parent | da56de9ac4824eb365af20b351719395e725be39 (diff) |
convert GradientType to scoped enum
Change-Id: Ie71ead122965e967796ed01270cc2824d35905ac
Reviewed-on: https://gerrit.libreoffice.org/35900
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/graphictools.hxx')
-rw-r--r-- | include/vcl/graphictools.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/graphictools.hxx b/include/vcl/graphictools.hxx index 6979e97e78e0..01f1e7ae8fda 100644 --- a/include/vcl/graphictools.hxx +++ b/include/vcl/graphictools.hxx @@ -248,7 +248,7 @@ public: hatchTriple }; /// Type of gradient used - enum GradientType {gradientLinear=0, gradientRadial, gradientRectangular}; + enum class GradientType {Linear, Radial, Rectangular}; /// Special values for gradient step count enum { gradientStepsInfinite=0 }; /** Homogeneous 2D transformation matrix |