summaryrefslogtreecommitdiff
path: root/include/vcl/vclenum.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-24 09:21:33 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-24 13:07:03 +0000
commitfe0bba96ac0682eeba1757ede42b5fdef22764b8 (patch)
tree3770076b3d171dccefaa3ef68dcdddd021e0e28c /include/vcl/vclenum.hxx
parent9ff8c95e54bed9ffd6ae4636c9e8385ad3160643 (diff)
Convert VclPackType to scoped enum
Change-Id: I5bcc4f8686c1ce5bf7def948ce50837fa542786f Reviewed-on: https://gerrit.libreoffice.org/25394 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.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/vcl/vclenum.hxx b/include/vcl/vclenum.hxx
index 28a68883750e..45f9ed29d1ac 100644
--- a/include/vcl/vclenum.hxx
+++ b/include/vcl/vclenum.hxx
@@ -107,10 +107,11 @@ enum VclAlign
VCL_ALIGN_CENTER
};
-enum VclPackType
+enum class VclPackType
{
- VCL_PACK_START = 0,
- VCL_PACK_END = 1
+ Start = 0,
+ End = 1,
+ LAST = End
};
// Return Values from Dialog::Execute