From 06cb2df4dba489d83c44babc2b36f91ec9fde5c9 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 29 May 2016 12:52:29 +0200 Subject: Convert VclAlign to scoped enum Change-Id: I03718cc63ec5c1260ebd599bddb1a787ca8f5788 Reviewed-on: https://gerrit.libreoffice.org/25603 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/vcl/vclenum.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/vcl/vclenum.hxx b/include/vcl/vclenum.hxx index 8dcafe16dcd1..d6d918031649 100644 --- a/include/vcl/vclenum.hxx +++ b/include/vcl/vclenum.hxx @@ -99,12 +99,12 @@ inline bool operator !=(const ItalicMatrix& a, const ItalicMatrix& b) return a.xx != b.xx || a.xy != b.xy || a.yx != b.yx || a.yy != b.yy; } -enum VclAlign +enum class VclAlign { - VCL_ALIGN_FILL, - VCL_ALIGN_START, - VCL_ALIGN_END, - VCL_ALIGN_CENTER + Fill, + Start, + End, + Center }; enum class VclPackType -- cgit