summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-27 09:43:22 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-27 12:59:23 +0000
commit850a8d27ca696f18ce0c529346f8bb8505499545 (patch)
tree5641e81912760029683e1c544e01af25eee23523 /include
parent6c974272423ca19c94d8d5e182fec46836309d60 (diff)
Convert GRAPHIC to scoped enum
Change-Id: I1fd09a729cbda00f99841532e0dd3fa66bce7bea Reviewed-on: https://gerrit.libreoffice.org/25534 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/graph.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx
index da73cc6a070d..10efa5af31fc 100644
--- a/include/vcl/graph.hxx
+++ b/include/vcl/graph.hxx
@@ -34,12 +34,12 @@
#include <basegfx/vector/b2dsize.hxx>
-enum GraphicType
+enum class GraphicType
{
- GRAPHIC_NONE,
- GRAPHIC_BITMAP,
- GRAPHIC_GDIMETAFILE,
- GRAPHIC_DEFAULT
+ NONE,
+ Bitmap,
+ GdiMetafile,
+ Default
};
namespace com { namespace sun { namespace star { namespace graphic { class XGraphic;} } } }