summaryrefslogtreecommitdiff
path: root/include/vcl/vclenum.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-05-29 12:52:29 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-30 06:36:21 +0000
commit06cb2df4dba489d83c44babc2b36f91ec9fde5c9 (patch)
tree60fe7312ed0de3ffd3eddc2a90e449086a8aed9c /include/vcl/vclenum.hxx
parenta6dacbe1d7d17283c20c75d3c97f72a0f876a716 (diff)
Convert VclAlign to scoped enum
Change-Id: I03718cc63ec5c1260ebd599bddb1a787ca8f5788 Reviewed-on: https://gerrit.libreoffice.org/25603 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl/vclenum.hxx')
-rw-r--r--include/vcl/vclenum.hxx10
1 files changed, 5 insertions, 5 deletions
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