diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-23 10:08:40 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-02-24 08:11:12 +0000 |
commit | 81b7de3d9f29d3aa14446b5c3624fe62cdbebd30 (patch) | |
tree | 6f9e07c9ad5d151f1a870df098c83df8e2b9642d /include/canvas | |
parent | 93de1f80e8b6ea49be8eca57a87e6ba92dc6cae9 (diff) |
convert canvas::IRenderModule::PrimitiveType to scoped enum
Change-Id: Idf2e7449ce5b595386f437597ce7ccf00d141db0
Reviewed-on: https://gerrit.libreoffice.org/22634
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/canvas')
-rw-r--r-- | include/canvas/rendering/irendermodule.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/canvas/rendering/irendermodule.hxx b/include/canvas/rendering/irendermodule.hxx index 9eeffa57c828..01dc94413161 100644 --- a/include/canvas/rendering/irendermodule.hxx +++ b/include/canvas/rendering/irendermodule.hxx @@ -54,11 +54,11 @@ namespace canvas /** Type of primitive passed to the render module via pushVertex() */ - enum PrimitiveType + enum class PrimitiveType { - PRIMITIVE_TYPE_UNKNOWN, - PRIMITIVE_TYPE_TRIANGLE, - PRIMITIVE_TYPE_QUAD + Unknown, + Triangle, + Quad }; virtual ~IRenderModule() {} |